package
A universal tool for managing package managers with a unified API. Run commands across npm, pnpm, yarn, bun, deno, jsr, and more with ease
npm install panamGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Estimated unpacked size across 9 packages.
715.8 kB
Includes dependencies.
Panam Core API provides a programmatic way to interact with package managers through a unified and efficient interface. Designed for flexibility and extensibility, the Core API eliminates the need to manually adapt to various package manager commands, enabling seamless development workflows.
Install the Core API as a standalone package:
With npm:
npm install panamWith yarn:
yarn add panamWith pnpm:
pnpm add panamStart by importing Panam Core API into your project:
import pnm from 'panam';Use the unified API to execute commands across various package managers:
await pnm.install();await pnm.add('lodash');await pnm.remove('lodash');await pnm.run('build');await pnm.exec('eslint .');dlx to execute temporary toolsawait pnm.dlx('create-react-app my-app');install():
Installs all dependencies in the current project.
add(...packages: string[]):
Adds specified packages to the project.
remove(...packages: string[]):
Removes specified packages from the project.
run(script: string):
Runs a script defined in the project's package.json.
exec(command: string):
Executes a specific command using the detected package manager.
dlx(binary: string):
Runs a package as a one-time executable.
npm, pnpm, yarn, bun, deno, and more.For detailed documentation, visit the Panam website.
Licensed under the MIT License. Created with ❤️ by Sigui Kessé Emmanuel.
ske.ci
siguici@proton.me