https://github.com/siketyan/nr
Modern and pretty alternative of npm-run-all
https://github.com/siketyan/nr
cli nodejs npm npm-scripts
Last synced: about 1 year ago
JSON representation
Modern and pretty alternative of npm-run-all
- Host: GitHub
- URL: https://github.com/siketyan/nr
- Owner: siketyan
- License: mit
- Created: 2024-01-21T11:58:30.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-24T06:33:04.000Z (over 1 year ago)
- Last Synced: 2025-05-05T21:16:35.549Z (about 1 year ago)
- Topics: cli, nodejs, npm, npm-scripts
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/@siketyan/nr
- Size: 107 KB
- Stars: 13
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# nr - Modern and pretty alternative of npm-run-all
[](https://www.npmjs.com/package/@siketyan/nr)
[](./LICENCE.md)
## Prerequisites
- Node.js v20+
## Installation
```shell
npm install -D @siketyan/nr
```
or
```shell
pnpm add -D @siketyan/nr
```
or
```shell
yarn add -D @siketyan/nr
```
## Usage
> [!NOTE]
> You can specify target scripts using wildcards, braces, or globs.
> For details, please refer the documentation of [minimatch](https://github.com/isaacs/minimatch).
### Run in serial (default)
```shell
nr foo bar baz
```
### Run in parallel
```shell
nr -p foo bar baz
```
If you want to limit concurrent tasks, append a number to the flag:
```shell
nr -p 2 foo bar baz
```