github

npms-io / npms-cli

  • понедельник, 22 августа 2016 г. в 03:12:57
https://github.com/npms-io/npms-cli

JavaScript
The CLI search utility for npms



npms-cli

npm Dependency status Dev Dependency status

Search https://npms.io from the command line!

npms-cli

Install

$ npm install --global npms-cli

Usage

The most used feature is the search command:

$ npms search [packages...]

Options:
  --from, -f            The offset in which to start searching from.         [number] [default: 0]
  --size, -s            The total number of results to return.              [number] [default: 10]
  --output, -o          Format the results in a table or as JSON.               [default: "table"]
  --score-effect        The effect that the module scores have for the final search score.[number]
  --quality-weight      The weight that the quality has for the each module score.        [number]
  --popularity-weight   The weight that the popularity has for each module score.         [number]
  --maintenance-weight  The weight that the maintenance has for each module score.        [number]
  -v, --version         Show version number                                              [boolean]
  -h, --help            Show help                                                        [boolean]

Besides searching, the CLI provides some more useful commands.
Please run $ npms -h for more information.

License

Released under the MIT License.