Search NPM quickly with this Alfred workflow
Author: Dane Wilson
Last Updated: 16/04/19 00:39:32
Alfred NPM Search
Search NPM quickly to find a package’s size
Clone the repository somewhere out of the way:
git clone email@example.com:danew/alfred-npm-search.git
Install the Workflow:
npm install ./node_modules/.bin/alfy-init
Locate where you cloned the repository and run:
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.
This tool wouldn’t exist without the awsome work from the following projects: