Skip to content

ryanccn/choirpack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Choirpack

Simple and powerful Node.js package manager utilities built around Corepack.

Installation

Use the package/overlay from the Nix flake, download a binary from GitHub Releases, or install with Cargo from the Git repository.

Usage

choirpack use

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.

choirpack update

Infers your current package manager automatically from your package.json or lockfiles in the project folder and updates the version in the packageManager key.

choirpack clean

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 support

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!

License

GPLv3