https://github.com/cnpm/rapid
The fastest way to install npm packages.
https://github.com/cnpm/rapid
Last synced: 2 months ago
JSON representation
The fastest way to install npm packages.
- Host: GitHub
- URL: https://github.com/cnpm/rapid
- Owner: cnpm
- License: mit
- Created: 2023-01-16T11:31:27.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-04-23T03:51:57.000Z (about 1 year ago)
- Last Synced: 2024-04-23T19:36:31.994Z (about 1 year ago)
- Language: Rust
- Homepage:
- Size: 44.6 MB
- Stars: 36
- Watchers: 13
- Forks: 4
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# π rapid
[δΈζηζ¬](./README.zh-CN.md)
> The *fastest* way to install npm packages.[](https://github.com/cnpm/rapid/actions/workflows/linux-ci.yml) [](https://github.com/cnpm/rapid/actions/workflows/rust-test.yml)
- ποΈ Follow `package-lock.json`, no private configuration
- β»οΈ Global dist cache, extremely fast reinstallation
- βοΈ Safe project dependency isolation
- π οΈ Supports integration for any package manager## Getting Started
### Independent Client
```bash
$ npm i @cnpmjs/rapid --registry=https://registry.npmmirror.com
$ rapid install
```### Integration
```javascript
const rapid = require('@cnpmjs/rapid');
await rapid.install({
cwd,
});
```## Help
```bash
rapid [command]Commands:
rapid install Install dependencies [aliases: i, ii]
rapid clean [path] Clean up the project [aliases: c, unmount, uninstall]
rapid list List rapid mount info [aliases: l]Options:
--version Show version number [boolean]
--help Show help [boolean]
```## Notice
* plz do not directly `rm -rf node_modules`` to manage dependencies.
* You can use `rapid clean`` instead.# π Acknowledgements
- [fuse-t](https://github.com/macos-fuse-t/fuse-t) Thanks fuse-t for kext-less implementation of FUSE.