3 ms·
I am just curious, what happens when people start writing ES6 io.js modules and posting them to NPM? Won't it be an issue for older versions of node? Is NPM goi
by skeeterbug 12y ago
I am just curious, what happens when people start writing ES6 io.js modules and posting them to NPM? Won't it be an issue for older versions of node? Is NPM going to start fragmenting because of this?
- olalonde 12y agoThe npm registry is already used for a bunch of stuff that it wasn't really intended for (e.g. front-end UI components, coffeescript, etc.). One solution for projects that need older versions of node would be to transpile es6 dependencies using https://github.com/esnext/es6-module-transpiler https://github.com/esnext/es6-module-transpiler for example.
- IsaacSchlueter 12y agoSure, but no worse (or even all that different) from any other Node release. The community will gradually upgrade, and it'll be fine. You don't see many people using `node.http.cat()` any more, for example. And yet the community survived ;)