DEV Community

Discussion on: Can I publish ES6 to npm?

Collapse
 
jochemstoel profile image
Jochem Stoel

I believe there is no problem publishing ES6 as you call it on NPM. I post stuff all the time that uses ES10 or Electron specific features. Besides, NPM was never browser-only anyway. Lots of stuff needs to be compiled before even using it.
The most important thing is that your package adds value and that it contains a readme.md so people at least know how and in what context to use it.