3 ms·
why are you writing node applications without using package.json? it sounds like you're looking to have a problem with javascript tbh. don't use it, whatever
by distrill 5y ago
why are you writing node applications without using package.json?
it sounds like you're looking to have a problem with javascript tbh. don't use it, whatever
- mschuetz 5y agoThere is absolutely no need for a package.json when using ES6 imports without a build step. Package.json doesn't do anything when I'm loading the code in a browser, why would I have to use it when I want to run the same JS code with node?
- distrill 5y agothis is a silly point. it's a different runtime, there are also different apis available - as is the point of this article. node is not an internet browser. but ok