Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/raulfdm/node-versions-cli
A simple CLI to check Node.js versions in the terminal.
https://github.com/raulfdm/node-versions-cli
bun cli node-version nodejs
Last synced: 8 days ago
JSON representation
A simple CLI to check Node.js versions in the terminal.
- Host: GitHub
- URL: https://github.com/raulfdm/node-versions-cli
- Owner: raulfdm
- Created: 2024-01-28T11:56:38.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-02-11T17:35:24.000Z (9 months ago)
- Last Synced: 2024-06-21T15:26:58.366Z (5 months ago)
- Topics: bun, cli, node-version, nodejs
- Language: TypeScript
- Homepage:
- Size: 136 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# node-versions CLI
A simple CLI to easily check node versions
## Getting started
Install it globally:
```bash
npm add -g @raulfdm/node-versions
```Then run:
```bash
node-versions
```## API
```
🌟 Node Versions CLI 🌟Usage:
$ node-versionsOptions:
--all Show all versions
--all-lts Show all LTS versions
--latest Show latest version
--latest-of Show latest version of a specific version
--lts Show current LTS versionExamples:
$ node-versions --all
$ node-versions --all-lts
$ node-versions --latest
$ node-versions --latest-of 20
$ node-versions --lts
```## Contributing
1. Make sure to have bun v1.0.25 or higher
2. clone this repository
3. install the dependencies:
```
bun install
```
4. Do the changes on the files in `src/*`;
5. run the dev command:
```
bun run dev
```If your change must be published:
1. Run `bun changeset`
1. Select the type of version the change includes following semver logic
1. Commit the changeset file alongside with your changes
1. Open a PR
1. Wait until it gets reviewed and approved