alfred-npms (download v0.4.1)
Alfred 3 workflow for npms.io
Commands
npm <query>
: Search npms.io withquery
; open package onnpmjs.com
. Example:npm socket
will return a list of packages matching name "socket", keyword "socket", etc.Modifiers:
⌘
: Open package repository.⌥
: Open package homepage (this often roughly the same as the repository URL).
npms cleardb
: Clears internal cache. By default, search results are cached for one (1) day.
Environment Variables
These are set within the workflow configuration and can be altered to better suit your usage.
NPMS_CACHE_EXPIRATION
: Number of seconds to keep search results. Defaults to86400
(one day).
License
Copyright 2016 Christopher Hiller. Licensed MIT.