Run npm scripts quickly and fuzzily ๐
fuzzy-npm-run
will allow you to pass a fuzzy search term that will decide which npm run-script
to run. This is especially useful for projects which have many npm scripts
, and can often take the format build:production
, but with fuzzy-npm-run
you can just run nr b:p
and it will pick up this as the script you were wanting to run.
npm i -g fuzzy-npm-run
nr [search-term]
This is a term that will be used by fuse.js
to match against your package.json scripts
section.