from small one page howto to huge articles all in one place
 

search text in:





Poll
Which filesystem do you use?






poll results

Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

187361

userrating:

average rating: 1.7 (102 votes) (1=very good 6=terrible)


May 25th. 2007:
Words

486

Views

250585

why adblockers are bad


Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

words:

161

views:

138045

userrating:

average rating: 1.4 (42 votes) (1=very good 6=terrible)


April, 26th. 2006:

Druckversion
You are here: manpages





NPM\-SEARCH

Section: (1)
Updated: December 2016
Index Return to Main Contents
 

NAME

npm-search - Search for packages  

SYNOPSIS

npm search [-l|--long] [--json] [--parseable] [--no-description] [search terms ...]

aliases: s, se, find
 

DESCRIPTION

Search the registry for packages matching the search terms. npm search performs a linear, incremental, lexically-ordered search through package metadata for all files in the registry. If color is enabled, it will further highlight the matches in the results. Additionally, using the --searchopts and --searchexclude options paired with more search terms will respectively include and exclude further patterns. The main difference between --searchopts and the standard search terms is that the former does not highlight results in the output and can be used for more fine-grained filtering. Additionally, both of these can be added to .npmrc for default search filtering behavior. Search also allows targeting of maintainers in search results, by prefixing their npm username with =. If a term starts with /, then it's interpreted as a regular expression and supports standard JavaScript RegExp syntax. A trailing / will be ignored in this case. (Note that many regular expression characters must be escaped or quoted in most shells.)  

A Note on caching

 

CONFIGURATION

 

description

*
Default: true
*
Type: Boolean

Used as --no-description, disables search matching in package descriptions and suppresses display of that field in results.  

json

*
Default: false
*
Type: Boolean

Output search results as a JSON array.  

parseable

*
Default: false
*
Type: Boolean

Output search results as lines with tab-separated columns.  

long

*
Default: false
*
Type: Boolean

Display full package descriptions and other long text across multiple lines. When disabled (default) search results are truncated to fit neatly on a single line. Modules with extremely long names will fall on multiple lines.  

searchopts

*
Default: ""
*
Type: String

Space-separated options that are always passed to search.  

searchexclude

*
Default: ""
*
Type: String

Space-separated options that limit the results from search.  

searchstaleness

*
Default: 900 (15 minutes)
*
Type: Number

The age of the cache, in seconds, before another registry request is made.  

registry

*
Default: https://registry.npmjs.org/
*
Type: url

Search the specified registry for modules. If you have configured npm to point to a different default registry, such as your internal private module repository, npm search will default to that registry when searching. Pass a different registry url such as the default above in order to override this setting.  

SEE ALSO

*
npm help 7 registry
*
npm help config
*
npm help 7 config
*
npm help 5 npmrc
*
npm help view


 

Index

NAME
SYNOPSIS
DESCRIPTION
A Note on caching
CONFIGURATION
description
json
parseable
long
searchopts
searchexclude
searchstaleness
registry
SEE ALSO





Support us on Content Nation
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2020 Sascha Nitsch Unternehmensberatung GmbH
Valid XHTML1.1 : Valid CSS : buttonmaker
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 20.8 ms