News for hackers. Stuff that matters.
Re:A Haskell Programmer Tries to Learn Racket by MichaelGG on Wednesday April 16, 2014 @09:05PM (#7601488)
I'd have to check again, but I looked for specific versions of a JS file and found it repeated multiple times throughout the forest of node_modules.

If side-by-side is desired, then just suffix the folder with a version name. foo.js-1.1 and foo.js-1.0 can be in the root and reused by every package that needs either.

Maybe it does that and I didn't understand what I was looking at.

Re:A Haskell Programmer Tries to Learn Racket by lucian1900 on Friday April 18, 2014 @05:37AM (#7608575)
It's quite naive about it, so it will copy them over and over again. Supposedly there are tools that make everything in node_modules symlinks to the same files.

It's not exactly an advanced and polished system, but it still has a feature that is hard to get with others.