News for hackers. Stuff that matters.
Re:Yarn – A new package manager for JavaScript by substack on Tuesday October 11, 2016 @02:03PM (#12686888)
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.
Re:Yarn – A new package manager for JavaScript by theanswerer on Wednesday October 12, 2016 @12:41AM (#12690466)
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.