Skip to content

hax/dependencaches

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Dependencies Caches for npm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published