Alfred npm search
Alfred workflow to search for npm package using npms API.
Requirements
This workflow is written in Node as JavaScript is the only language that I know — I'm more than happy to accept any pull request that ports this workflow to more "user friendly" language. To make it work, node needs to be installed on your machine. To confirm that you have it installed open a Terminal app and type node -v
that shows a version on installed interpreter or alert "command not found" which means that you need to install it.
How to use
- Open Alfred App
- Type
npm
- Pass an argument to a script (name of a package)
- Wait for results
Then:
Return
to open on npm websitecmd + c
to copy a link.- Hold
cmd
to open package on Github - Hold
alt
to open issues
Future improvements
- [ ] I'm open for suggestions