All Questions
3 questions
2
votes
1
answer
113
views
Transpiling in npm modules
While recently creating a module for shared functionality between our projects I stumbled upon this question. Should the module be occupied with transpilation of code to older browsers that our ...
1
vote
1
answer
427
views
What is it that is so hard about ES6 modules for Node? [closed]
It seems like ES6 imports for Node have been a bugbear for a while. There is the --experimental-modules flag, or options like using Babel - but AFAIK ES6 modules still aren't supported in vanilla Node....
9
votes
1
answer
7k
views
Node.js app private modules. Where to put them?
The situation would be:
I develop 2 projects in my Node.js development environment, P1 and P2.
P1 required the development of two simple modules, mod1 and mod2, which are stored in P1/lib. Each one ...