Skip to content

cnpm/rapid

Repository files navigation

🚀 rapid

中文版本

The fastest way to install npm packages.

Node CI Linux Rust TEST Linux

  • 🏗️ 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

$ npm i @cnpmjs/rapid --registry=https://registry.npmmirror.com
$ rapid install

Integration

const rapid = require('@cnpmjs/rapid');
await rapid.install({
  cwd,
});

Help

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 Thanks fuse-t for kext-less implementation of FUSE.