meseck / 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'.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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/

About

Lists all installed npm packages in the current project and makes them easily searchable with the combination of 'fzf' and the search engine 'njt'.

License:The Unlicense


Languages

Language:Shell 100.0%