npm-stash

0.0.3 • Public • Published

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 // fetch and compile as usual from npm (the result is stored in ~/.npm-stash)
stash install // grab and install compiled result from ~/.npm-stash

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i npm-stash

    Weekly Downloads

    0

    Version

    0.0.3

    License

    MIT

    Last publish

    Collaborators

    • hypergeometric