@mafintosh/ims

Install My Stuff - an optionated npm module installer

Stats

StarsIssuesVersionUpdatedCreatedSize
@mafintosh/ims
18451.1.03 years ago3 years agoMinified + gzip package size for @mafintosh/ims in KB

Readme

@mafintosh/ims

Install My Stuff - an opionated npm module installer

npm install -g @mafintosh/ims

IMS is a npm module installer that uses an 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

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

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.