jpm
A small JavaScript package manager that imports existing lockfiles to install npm packages.
What does it do?
Running jpm install in a project reads versions from an existing lockfile and creates jpm.lock. During the switch, you can keep the existing lockfile and use it for CI installations. Downloaded packages are checked for integrity, then stored only 1 time in a device-wide store based on per-file hashes. If another project uses the same package, it can reuse the stored files and package directory through links. Dependency installation scripts do not run by default, and adoption of new versions is delayed by 1 day by default.
Key features
- Read npm, pnpm, yarn, and bun lockfiles to switch while keeping existing versions
- Support CI installation while retaining the existing lockfile
- Check package integrity and store files in a shared store using per-file hashes
- Reuse stored package files across projects
- Disable dependency installation scripts by default
- Delay adoption of new package versions by 1 day by default