Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 3 months 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 (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-24T06:33:04.000Z (4 months ago)
- Last Synced: 2024-10-04T16:28:14.041Z (4 months ago)
- Topics: cli, nodejs, npm, npm-scripts
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/@siketyan/nr
- Size: 107 KB
- Stars: 12
- 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
[![NPM Version](https://img.shields.io/npm/v/@siketyan/nr)](https://www.npmjs.com/package/@siketyan/nr)
[![MIT License](https://img.shields.io/npm/l/@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
```