node package manager
It’s your turn. Help us improve JavaScript. Take the 2017 JavaScript Ecosystem Survey »


Downloads files to an on-disk cache.

No cache headers are respected; to clear the cache, clear the directory. It's very simple and prototypey, and it shouldn't be used in production in its current form.

See test.js for a usage example.


  • Execute as a command line utility.
  • Respect cache headers (might need a manifest file).