ims

Install My Stuff - an opinionated npm module installer

  • Owner: mafintosh/ims
  • Platform:
  • License:: MIT License
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

ims

Install My Stuff - an opinionated npm module installer

npm install -g ims

IMS is a npm module installer that uses a p2p cache hosted on the Dat network to resolve all dependencies as fast as possible.

The cache is stored in a hypertrie which makes it fast to update and always get the latest version while minimising the amount of roundtrips, compared to npm install.

The module tarballs themself are still downloaded from the npm registry

Usage

# installs hypercore to ./node_modules
ims hypercore

For more options do ims --help

Usage: ims <package-name?> [options]

  --save, -s        saves the dep to package.json
  --save-dev, -S    saves the dev dep to package.json
  --global, -g      installs as a cli tool
  --production, -p  skip dev dependencies
  --update, -u      force update the cache
  --quiet, -q       do not print anything
  --seed            seed all metadata on the dat network

If <package-name> is omitted the deps from package.json is used

IMS stores its cache in ~/.ims.

Note that it uses sparse files for its database format so use ls -sh to list the actual size of the cache.

License

MIT

Main metrics

Overview
Name With Ownermafintosh/ims
Primary LanguageJavaScript
Program languageJavaScript (Language Count: 1)
Platform
License:MIT License
所有者活动
Created At2018-08-06 00:24:29
Pushed At2018-08-30 14:41:23
Last Commit At2018-08-13 16:33:19
Release Count8
Last Release Namev1.4.2 (Posted on 2018-08-10 23:28:24)
First Release Namev1.0.0 (Posted on 2018-08-08 23:25:22)
用户参与
Stargazers Count185
Watchers Count8
Fork Count8
Commits Count23
Has Issues Enabled
Issues Count9
Issue Open Count3
Pull Requests Count3
Pull Requests Open Count1
Pull Requests Close Count0
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private