prismapm
v1.0.0
Published
Prisma Package Manager (ppm) - a Node.js package manager CLI inspired by npm/yarn
Readme
Prisma Package Manager (ppm)
A simple, cross-platform Node.js package manager with lock file, caching, and script support.
Features
- Install/uninstall/list packages from npm registry
- Custom lock file:
prisma.lock - Recursive dependency resolution
- Version constraints (exact, ^, ~, latest)
- Install from lock file
- Update/upgrade commands
- Progress bar/spinner
- Script support (like
npm run) - Project config file:
ppm.json - Package tarball cache for fast/offline installs
- Cross-platform support (Windows, macOS, Linux)
Usage
Install a package
ppm install <package>[@version]Install all from lock file
ppm installUninstall a package
ppm uninstall <package>List installed packages
ppm listUpdate a package
ppm update <package>Upgrade all packages
ppm upgradeRun a script from package.json
ppm run <script>Project Config: ppm.json
Example:
{
"name": "my-project",
"customSettings": {
"cacheDirectory": "./.ppm-cache",
"registry": "https://registry.npmjs.org/"
}
}Development
- Node.js 18+
- Install dependencies:
npm install - Link globally for CLI:
npm link
License
MIT
