NPM is only awesome until you need to do something with it on Windows.
I also install git bash and conemu to have bash on Windows which makes things much better. I don't use windows console.
I would have thought it'd be possible to emscripten compile something like tinyC, and make a C compiler you could naturally fit into the node ecosystem to build native libraries.
I imagine node.js for IBM i or z/OS to have similar issues.