inst
Faster npm installs via caching whole node_module dir
Last updated 5 years ago by runk .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install inst 
SYNC missed versions from official npm registry.

node-inst

Faster npm installs via caching whole node_module dir

If you do a lot of npm i every day you might be annoyed with its slowness. Even if you use built-in npm cache it still compiles/rebuilds all binary dependencies. Another solutions such as caching proxies or npm registry mirrors still consume a lot of time for networking / checking / compiling etc.

This module caches whole node_modules directory and uses check sum of manifest files (package.json and npm-shrinkwrap.json), version of node and npm as a cache key. When you're doing fresh install it saves a tarball with all your dependencies and extract it next time when you do install. It's like 30-50 times faster than normal install even with "warm" npm cache.

Installation

npm install inst -g

Usage

Instead of using npm install you use inst. That's it.

$ inst --help

Usage: inst [options]

Options:

  -h, --help            output usage information
  -V, --version         output the version number
  -s, --storage [path]  storage path [~/.npm-inst-cache]
  -t, --ttl [second]    cache lifetime [86400]
  -p, --production      production mode, do not install dev dependencies [false]

Current Tags

  • 1.1.0                                ...           latest (5 years ago)

12 Versions

  • 1.1.0                                ...           5 years ago
  • 1.0.0                                ...           5 years ago
  • 0.2.2                                ...           5 years ago
  • 0.2.1                                ...           5 years ago
  • 0.2.0                                ...           5 years ago
  • 0.1.4                                ...           6 years ago
  • 0.1.3                                ...           6 years ago
  • 0.1.2                                ...           6 years ago
  • 0.1.1                                ...           6 years ago
  • 0.1.0                                ...           6 years ago
  • 0.0.2                                ...           6 years ago
  • 0.0.1                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (4)
Dev Dependencies (2)
Dependents (2)

Copyright 2014 - 2016 © taobao.org |