https://github.com/boneskull/alfred-npms
Alfred 3 workflow for npms.io
https://github.com/boneskull/alfred-npms
alfred javascript macos module npm npms search
Last synced: 6 months ago
JSON representation
Alfred 3 workflow for npms.io
- Host: GitHub
- URL: https://github.com/boneskull/alfred-npms
- Owner: boneskull
- License: mit
- Created: 2016-06-25T04:38:48.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-18T04:39:55.000Z (about 9 years ago)
- Last Synced: 2024-10-29T22:36:29.790Z (over 1 year ago)
- Topics: alfred, javascript, macos, module, npm, npms, search
- Language: Python
- Homepage: http://www.packal.org/workflow/npms
- Size: 40 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# alfred-npms ([download v0.4.1](https://github.com/boneskull/alfred-npms/releases/download/v0.4.1/npms.alfredworkflow))
> Alfred 3 workflow for [npms.io](https://npms.io)

## Commands
- `npm `: 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](https://boneskull.com). Licensed MIT.