New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

npms-cli

Package Overview
Dependencies
Maintainers
2
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

npms-cli

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

latest
Source
npmnpm
Version
1.6.0
Version published
Maintainers
2
Created
Source

npms-cli

NPM version Downloads Build status Coverage status 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 <query>

Usage: npms search <query...> [options]

Search npms.io for packages.
For advances filters and modifiers visit https://api-docs.npms.io/#api-search-query.

Options:
  --version, -v         Show version number                                                  [boolean]
  --help, -h            Show help                                                            [boolean]
  --color               Allows disabling or enabling colored output          [boolean] [default: true]
  --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"]

Examples:
  npms search cross spawn                Search for "cross spawn"
  npms search cross spawn --output json  Search for "cross spawn" and print results as JSON

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

Tests

$ npm test
$ npm test-cov # to get coverage report

License

Released under the MIT License.

Keywords

modules

FAQs

Package last updated on 26 Mar 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts