Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

what you described is npm@2's behaviour. npm@3 will flatten dependencies as much as possible


How does it flatten dependencies? Symlinks?


no, it just installs everything it can into the top level node_modules. npm@2 would do this to a degree as well, it was just less sophisticated about it.


> into the top level node_modules.

Just tried using npm3 explicitly and I stand corrected.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: