News for hackers. Stuff that matters.
Re:Flat Tree Dependency Resolution in Npm v3 by alextgordon on Thursday December 31, 2015 @01:09PM (#10818784)
When we ship node modules to be embedded into Chocolat.app, we have to strip out all the tests and documentation because otherwise it bloats the download size. And the computer it eventually runs on may not be connected to the internet.

The nice thing about node is that it's quite small (3.4MB zipped). We don't have to ship npm with the app, and certainly an OS level package manager would be way too large!

Re:Flat Tree Dependency Resolution in Npm v3 by nawitus on Thursday December 31, 2015 @03:03PM (#10819373)
Each package should strip tests and documentation from the package. Of course, many don't..
Re:Flat Tree Dependency Resolution in Npm v3 by tracker1 on Thursday December 31, 2015 @06:30PM (#10820329)
True enough... it's not always easy to consider as creating an npm module and building/pushing to NPM is really easy to do.