npm search <search terms...>

Search for packages

Arguments

NameDescription
search terms

Options

NameDescription
-l, --longShow extended information
--jsonShow output in json format
--color <always>Show colors
--no-colorDo not show colors
-p, --parseableOutput parseable results from commands that write to standard output
--no-descriptionDo not show descriptions
--searchopts <searchopts>Space-separated options that are always passed to search
--searchexclude <searchexclude>Space-separated options that limit the results from search
--registry <registry>The base URL of the npm registry
--prefer-onlineIf true, staleness checks for cached data will be forced, making the CLI look for updates immediately even for fresh package data
--prefer-offlineIf true, staleness checks for cached data will be bypassed, but missing data will be requested from the server
--offlineForce offline mode: no network requests will be done during install