- Created by danew
- 🗓 Last Updated: 15/03/22 20:51:22
- 🌟 Stars on GitHub: 1
- Please consider supporting the creator by Starring or Sponsoring them on GitHub!
- Get Source Code
From their README
Alfred NPM Search
Search NPM quickly to find a package's size
Install
Clone the repository somewhere out of the way:
git clone [email protected]:danew/alfred-npm-search.git
Install the Workflow:
npm install
./node_modules/.bin/alfy-init
Requires Node.js 10+ and the Alfred Powerpack.
Uninstall
Locate where you cloned the repository and run:
./node_modules/.bin/alfy-cleanup
Usage
In Alfred, type npms
, Space, and your package name.
This will return you a list of packages if there is no exact package with that name, when it matches an exact package it will show you it's size. If you press CMD it will provide more information.
Pressing Enter will open up the repository in your browser.
Credits
This tool wouldn't exist without the awsome work from the following projects:
- NPMS - NPM Package search API
- BundlePhobia - NPM Package size API
- Alfy - Alfred 3 Workflow tool