Open
Description
Is your feature request related to a problem or a nice-to-have?? Please describe.
It would be nice to get rid of some NodeJS specific things that makes it better suited for browsers.
one such thing could be the option to remove util.inherits
and replacing it with classes that can extends things.
resulting in fewer dependencies and smaller code bundle that won't require the browserified version of util that has an additional of 20 modules and 12 kb
NodeJS docs have marked it as legacy and has this to say about util.inherits
Usage of util.inherits() is discouraged. Please use the ES6 class and extends keywords to get language level inheritance support
Describe the solution you'd like
Change prototype based classes into es-classes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment