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
dependencaches --cacheDirectory=/home/cache install
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.