A CLI to simplify dependencies managment for Node.js
- Automatically synchronizes your package.json and .pkgninja files
- Detects outdated dependencies and categorizes them (upToDate, canUpdate, outdated)
- Provides a user-friendly CLI for managing dependencies
- Supports dependency locking
- Works with all project types (Node.js, Angular, React, Vue...)
- VSCode extension for enhanced workspace integration is available here
To install the CLI globally:
npm install -g @techfever/package-ninja
To initialize PackageNinja in your project directory :
package-ninja init
To synchronize your dependencies :
package-ninja sync
This command ensures that your package.json and .pkgninja files are in sync.
To check your dependencies :
package-ninja check
This command will ask you if you want a report, and will categorize your dependencies as upToDate, canUpdate, or outdated.
package-ninja lock <dependency-name>
This command updates the .pkgninja file to lock the specified dependency. Unlock dependencies with the command :
package-ninja unlock <dependency-name>
This command upgrades dependencies that are unlocked
package-ninja update
We welcome contributions! Please read our contributing guidelines for more information.
This project is licensed under the MIT License - see the LICENSE file for details.
- D-C-MATE (owner of TechFever)
Inspired by the need for a smarter package manager Thanks to the open-source community for their invaluable resources