npm-stash
Cache compiled npm packages
Last updated 6 years ago by hypergeometric .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install npm-stash 
SYNC missed versions from official npm registry.

npm-stash

Cache compiled npm packages.

Instead of caching the package tars as npm does, npm-stash caches the folder that npm installs for each dependency. This means it can be used to cache compiled versions of dependencies and greatly speed up installs.

Caveats

  • 'Works on my machine'
  • Untested
  • Probably only works on unix-y setups, if those
  • Ugly implementation
  • You have been warned!

Install

npm install -g npm-stash

Example

stash install mongodb // fetch and compile as usual from npm (the result is stored in ~/.npm-stash)
stash install mongodb // grab and install compiled result from ~/.npm-stash

Current Tags

  • 0.0.3                                ...           latest (6 years ago)

3 Versions

  • 0.0.3                                ...           6 years ago
  • 0.0.2                                ...           6 years ago
  • 0.0.1                                ...           6 years ago
Maintainers (1)
Downloads
Today 1
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 3
Dependencies (2)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |