https://github.com/regular/npmq
https://github.com/regular/npmq
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/regular/npmq
- Owner: regular
- Created: 2017-07-17T15:04:47.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-17T15:11:03.000Z (almost 9 years ago)
- Last Synced: 2024-04-14T05:49:40.082Z (about 2 years ago)
- Language: JavaScript
- Size: 87.9 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# npmq
An npm registry follower that stores package mata data in a flumedb and offers a query CLI.
> Note: this requires a lot of bandwidth and disk space (~6GB at the time of writing)
## Installation
``` sh
npm i -g npmq
npmq server path/to/where/you/want/the/db/to/be/created
# in a new terminal:
npmq -h
```
## Some examples
```
npmq whois isaacs
npmq whatDoTheyUse substack domictarr maxogden # most popular packages among a group
npmq repo ssb # all packages with repo URLs starting with "ssb"
npmq size scuttlebot --transitive --dev # size of scuttlebot tarball plus tarball size of all its transitive dependencies including top-level dev dependencies.
```
Output is double-newline-separated JSON.
## API
See [manifest.md](https://github.com/regular/npmq/blob/master/manifest.md).