Exchange npm caches with someone else on the local network
MIT License
Exchange npm caches with someone else on the local network
npm install -g npm-cache-exchange
On one computer run
computer-1> npm-cache-exchange
And on another one run the same
computer-2> npm-cache-exchange
These two computers will now exchange their npm cache.
You can force npm to only use the cache by setting the --cache-min 999999999
argument.
which allows you to use npm offline
npm --cache-min 99999999 install a-module # works offline
MIT