lookup-package
Lists all installed npm packages in the current project and makes them easily searchable with the combination of fzf and the search engine njt.
Dependencies
These tools must be installed to use this script:
- fzf - command-line fuzzy finder
- jq - lightweight and flexible command-line JSON processor
- npm - node package manager
Install
Download
curl -OL https://github.com/fools-mate/lookup-package/raw/main/lookup-package
Make it executable
chmod +x lookup-package
Copy to somewhere in your path. E.g.:
sudo mv lookup-package /usr/local/bin/