npm-run-interactive

1.2.0 • Public • Published

npm-run-interactive

Find and run scripts in your package.json in an interactive way.

Basic usage example

Installation

npm i npm-run-interactive -g

Usage

Navigate in your project's directory and just run nri to see a list of all your npm/yarn scripts that you can then execute.

Navigation

Cycle through the scripts with the up/down arrows or tab/shift+tab.

Filtering

Filter the scripts by typing in the prompt, your input will be searched in script names and values.

Non-interactive mode

Skip the prompt and just view your scripts in JSON format by redirecting output to a non-interactive stdout (file, cat, jq etc).

Non-interactive mode example

Package Sidebar

Install

npm i npm-run-interactive

Weekly Downloads

1

Version

1.2.0

License

MIT

Unpacked Size

248 kB

Total Files

9

Last publish

Collaborators

  • stsourlidakis