Node.js: Be a good dev: offer dependencies
1–10 of 22 posts
Re: Node.js: Be a good dev: offer dependencies
#2Re: Node.js: Be a good dev: offer dependencies
#3I would really rather not have to manually install a million packages when pulling down dependencies - "npm install && npm start" and then going to grab a glass of water feels great.
The given use case of a master parsing library doesn't really resonate. A handful of extra kb on disk doesn't bother me at all for an all-in-one solution, and I've never really had the problem of not being able to find a parsing library on npm to begin with.
Re: Node.js: Be a good dev: offer dependencies
#4Re: Node.js: Be a good dev: offer dependencies
#5Re: Node.js: Be a good dev: offer dependencies
#6Isn't that the whole reason there is a package.json? That way, people just run npm install and already have all the necessary dependencies.
Re: Node.js: Be a good dev: offer dependencies
#7Correct me if I'm wrong, but this would mean that I will be informed about missing dependencies RUNTIME? And I have to do that multiple times, if there are multiple 'dynamic dependencies' like this. The main reason for having declarative dependencies is to NOT be having to do that.
Re: Node.js: Be a good dev: offer dependencies
#8Honestly, this sounds like a big step backwards in UX if implemented widely. I would really rather not have to manually install a million packages when pulling down dependencies - "npm install && npm start" and then going to grab a glass of water feels great. The given use case of a master parsing library doesn't really resonate. A handful of extra kb on disk doesn't bother me at all for an all-in-one solution, and I…
If it were a handful of extra kb, I'd agree. Of the top off my head I can think of following file formats "somehow" suited for configuration: json, cson, properties files (java), yaml, xml, conf-files (Apache), ignorefile syntax, ini files.
Supporting all of them could be a reasonable goal to the community (looking at the packages in npm: it is an actual goal already).
Re: Node.js: Be a good dev: offer dependencies
#9I'm not shure that it is a good idea to create (and use) such packages as 'parse-any-structed-file'. If you know what you need, then you can use an optimized implementation.
(In my project that is the exact problem case)
Re: Node.js: Be a good dev: offer dependencies
#10Honestly, this sounds like a big step backwards in UX if implemented widely. I would really rather not have to manually install a million packages when pulling down dependencies - "npm install && npm start" and then going to grab a glass of water feels great. The given use case of a master parsing library doesn't really resonate. A handful of extra kb on disk doesn't bother me at all for an all-in-one solution, and I…
You do have to choose which packages you want to install at some point. When you do `npm install && npm start` it will still work as planned. The problem here address is for when you need to deal with a new issue. If it were a handful of extra kb, I'd agree. Of the top off my head I can think of following file formats "somehow" suited for configuration: json, cson, properties files (java), yaml, xml, conf-files (Apac…