Simple and powerful Node.js package manager utilities built around Corepack.
Use the package/overlay from the Nix flake, download a binary from GitHub Releases, or install with Cargo from the Git repository.
Use a package manager for a Node.js project.
--version
can be provided to pin a specific version; otherwise, the latest version if fetched from NPM.
--no-install
prevents Choirpack from automatically reinstalling your dependencies with the new package manager.
Infers your current package manager automatically from your package.json
or lockfiles in the project folder and updates the version in the packageManager
key.
Cleans your Corepack cache directory by removing versions that haven't been used for a while. Default is those older than a week; you can customize this by passing a duration string as an argument.
Bun can be a great package manager, but at the moment Corepack does not support it. Therefore, Choirpack does not work with Bun at the moment. You can track upstream progress at nodejs/corepack#295!
GPLv3