1.2.0 • Published 11 months ago

npm-run-interactive v1.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

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