npms

An Alfred Workflow


Short Description

npms.io search

Last Updated

17 Jan 2017

Compatibility

Yosemite
(10.10)
Mavericks
(10.9)
Mountain Lion
(10.8)
Lion
(10.7)
Snow Leopard
(10.6)
Yes Yes Yes Yes Yes
 

Version

0.4.1
 

Bundle ID

org.boneskull.npms
 

Categories

Webservices

alfred-npms (download v0.4.1)

Alfred 3 workflow for npms.io

screenshot

Commands

  • npm <query>: Search npms.io with query; open package on npmjs.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 to 86400 (one day).

License

Copyright 2016 Christopher Hiller. Licensed MIT.

Screenshots