Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
substack
· 10y ago · 0 comments
One of the features for yarn mentioned is better offline support, but you can also do this with vanilla npm:
npm install --cache-min Infinity
I have this aliased to `npmi` on my system and use it all the time.
Comments
[–]
theanswerer
10y ago
For unknown reasons it will still try to contact the npm servers once in a hundred runs even though none of the package versions changed.