I'm developing a little app in nodejs 8. I have a class that already extends another class
module.exports = class ClassOne extends ClassTwo {
}
But I'd also like my class to have the functionality of the EventEmitter
class which I believe would also require me extending to do so. I've seen that multiple inheritance is possible but I've found most documentation unclear on what's the least messy way to accomplish this for Node 8. It feels like this should be a common use case as the EventEmitter is quite widely used.
Is there a best practise for doing this in node 8?