Skip to content
/ ims Public

Install My Stuff - an opinionated npm module installer

License

Notifications You must be signed in to change notification settings

mafintosh/ims

Repository files navigation

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

About

Install My Stuff - an opinionated npm module installer

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •