News for hackers. Stuff that matters.
Re:Node.js: Be a good dev: offer dependencies by leichtgewicht on Monday September 05, 2016 @02:27AM (#12428501)
Yes, a package.json is good to get the required dependencies. This article is about possible dependencies that help in cases where you all the possible would mean a huge load on the system.
Re:Node.js: Be a good dev: offer dependencies by flukus on Monday September 05, 2016 @03:56AM (#12428788)
If you can use a package without them then they aren't really dependencies are they?
Re:Node.js: Be a good dev: offer dependencies by leichtgewicht on Monday September 05, 2016 @04:00AM (#12428807)
True, how should those things be called?
Re:Node.js: Be a good dev: offer dependencies by myhf on Monday September 05, 2016 @04:41AM (#12428955)
A good example is Consolidate, which provides a consistent API to various template libraries. You wouldn't want to force installation of all the unused libraries.

https://github.com/tj/consolidate.js

Re:Node.js: Be a good dev: offer dependencies by leichtgewicht on Monday September 05, 2016 @05:01AM (#12429023)
Will add a link to the "other problems" list, thanks!
Re:Node.js: Be a good dev: offer dependencies by yid on Monday September 05, 2016 @11:05AM (#12430671)
How is it a huge load on the system given that node can lazy load modules? Do you mean disk space?