1.0.1 • Published 6 years ago
add-pkg v1.0.1
What's this?
add-pkg provides some package manager installation commands in one command. ♨︎
For example, you can write in one line how to install your package.
🙄 Before:
npm install <your-package> # npm
yarn add <your-package> # yarn
# another command...✨ After:
npx add-pkg <your-package>Supporting package managers
Isn't your favorited package manager listed here? Please create issue/PR here! 😆
Usage
Install to dependencies
npx add-pkg <your-package>Install to devDependencies
-dor-Dor--dev
npx add-pkg <your-package> -dInstall to global
-gor-Gor--global
npx add-pkg <your-package> -gRun dry-run
Check the command to be executed
npx add-pkg <your-package> --dry-runPriority of the package manager
- A package manager that is installed and also has a lockfile
- Installed package manager (npm excluded)
- npm
License
- code: MIT
- icon: Icon made by Freepik from www.flaticon.com
