An open API service indexing awesome lists of open source software.

https://github.com/techfever-soft/package-ninja-cli

A smart package for managing NPM dependencies
https://github.com/techfever-soft/package-ninja-cli

cli dependencies nodejs npm package

Last synced: 22 days ago
JSON representation

A smart package for managing NPM dependencies

Awesome Lists containing this project

README

          

# 🥷🏽 PackageNinja (CLI)

A CLI to simplify dependencies managment for Node.js

### [DEMO](https://package-ninja.web.app/#demo)
### [Other installation methods](https://package-ninja.web.app/#get-started)

## Features
- 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](https://marketplace.visualstudio.com/items?itemName=techfever.packageninja-extension)

## Installation (with NPM)

To install the CLI globally:

```bash
npm install -g @techfever/package-ninja
```

## Usage
### Initial Setup
To initialize PackageNinja in your project directory :
```bash
package-ninja init
```

### Syncing dependencies
To synchronize your dependencies :
```bash
package-ninja sync
```
This command ensures that your package.json and .pkgninja files are in sync.

### Checking dependencies
To check your dependencies :
```bash
package-ninja check
```
This command will ask you if you want a report, and will categorize your dependencies as upToDate, canUpdate, or outdated.

### Locking/Unlocking dependencies
```bash
package-ninja lock
```
This command updates the .pkgninja file to lock the specified dependency.
Unlock dependencies with the command :
```bash
package-ninja unlock
```

### Updating dependencies
This command upgrades dependencies that are unlocked
```bash
package-ninja update
```

## Contributing
We welcome contributions! Please read our contributing guidelines for more information.

## License
This project is licensed under the MIT License - see the LICENSE file for details.

## Authors
- D-C-MATE (owner of TechFever)

## Acknowledgments
Inspired by the need for a smarter package manager
Thanks to the open-source community for their invaluable resources