Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
secoif
· 10y ago · 0 comments
what you described is npm@2's behaviour. npm@3 will flatten dependencies as much as possible
Comments
[–]
zamalek
10y ago
How does it flatten dependencies? Symlinks?
[–]
secoif
OP
10y ago
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.
[–]
zamalek
10y ago
> into the top level node_modules.
Just tried using npm3 explicitly and I stand corrected.