dependencaches

1.3.0 • Public • Published

dependencaches -- Dependencies Caches for npm

Why this project

This project have the same goal of npm-cache. npm-cache is a great tool, but it need keep the compatibility with the old versions which become a burden for introducing new features, and the author do not have enough time to maintain and merge new PRs, so I just write new one from the ground.

Install

npm install -g dependencaches

Usage

dependencaches install  # try to install
dependencaches --cacheDirectory=/home/cache install  # install using /home/cache as cache directory

Limitations

  • Not support Win32
  • Currently only support npm, no bower/jspm/composer...
  • Currently only implement symlink
  • No compression

TODO

  • Recheck symlink for native (node-gyp) packages
  • Implement copy (rsync)
  • Add more commands: hash, save, restore, etc.

Package Sidebar

Install

npm i dependencaches

Weekly Downloads

3

Version

1.3.0

License

ISC

Last publish

Collaborators

  • hax