The fastest way to install npm packages.
- 🏗️ Follow
package-lock.json
, no private configuration - ♻️ Global dist cache, extremely fast reinstallation
- ⛑️ Safe project dependency isolation
- 🛠️ Supports integration for any package manager
$ npm i @cnpmjs/rapid --registry=https://registry.npmmirror.com
$ rapid install
const rapid = require('@cnpmjs/rapid');
await rapid.install({
cwd,
});
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]
- plz do not directly `rm -rf node_modules`` to manage dependencies.
- You can use `rapid clean`` instead.
- fuse-t Thanks fuse-t for kext-less implementation of FUSE.