Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mafintosh/ims
Install My Stuff - an opinionated npm module installer
https://github.com/mafintosh/ims
Last synced: 13 days ago
JSON representation
Install My Stuff - an opinionated npm module installer
- Host: GitHub
- URL: https://github.com/mafintosh/ims
- Owner: mafintosh
- License: mit
- Created: 2018-08-06T00:24:29.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-08-30T14:41:23.000Z (about 6 years ago)
- Last Synced: 2024-05-16T15:22:46.345Z (6 months ago)
- Language: JavaScript
- Homepage:
- Size: 41 KB
- Stars: 184
- Watchers: 9
- Forks: 8
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://github.com/mafintosh/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
``` sh
# installs hypercore to ./node_modules
ims hypercore
```For more options do `ims --help`
```
Usage: ims [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 networkIf 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