Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/luismeyer/n
cli that detects which automatically decides which package manager command you want to run.
https://github.com/luismeyer/n
Last synced: 22 days ago
JSON representation
cli that detects which automatically decides which package manager command you want to run.
- Host: GitHub
- URL: https://github.com/luismeyer/n
- Owner: luismeyer
- Created: 2024-01-17T16:54:28.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-01-17T16:55:35.000Z (10 months ago)
- Last Synced: 2024-10-04T18:41:42.962Z (about 1 month ago)
- Language: Rust
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# n - The Funky Package Manager Executor
**Disclaimer:**
Everything in this repo is written by chat gpt except this disclaimer :)---
Welcome to `n`, the coolest, slickest, and most convenient command-line tool for all your package management needs! Whether you're juggling `npm`, `yarn`, `pnpm`, or `bun`, `n` has got your back. It's like your personal DJ, mixing and matching commands for the right package manager. ๐ง๐
## Getting Started
๐ง **Installation**
Clone this repository and feel the magic:
```
git clone https://github.com/luismeyer/n.git
cd n
cargo build --release
```Now, move the compiled binary to a location in your PATH. On Unix-like systems, you might do something like:
```
sudo cp target/release/n /usr/local/bin
```๐ **Usage**
Run `n` followed by any package manager command you usually use. `n` will automatically detect your project's package manager and forward the command. It's like saying "Abracadabra", but for code!
```
n install
n start
n test
```โจ **Examples**
- In a directory with `package-lock.json` (npm):
```
n install axios
```- In a directory with `yarn.lock` (yarn):
```
n add lodash
```## Features
- ๐ต๏ธโโ๏ธ Automatic Detection: Identifies which package manager your project uses.
- ๐๏ธ Fast and Furious: Executes commands quicker than you can say "Fast".
- ๐คนโโ๏ธ Multi-Command Handling: Pass multiple arguments and watch `n` handle them all.
- ๐ Funky and Friendly: Because who said command line tools can't have a personality?## Contributing
Wanna add some more funk? Suggestions and pull requests are more than welcome. Let's make `n` the funkiest tool out there!
## License
Distributed under the MIT License. See `LICENSE` for more information.
## Acknowledgments
- Hat tip to all the package managers out there, making our lives easier.
- A big shoutout to Rust ๐ฆ, the language that powers `n`.## Keep it Funky! ๐บ
Remember, coding is supposed to be fun. Keep it light, keep it funky, and let `n` handle the mundane stuff.