3 <title>npm-search</title>
4 <meta http-equiv="content-type" value="text/html;utf-8">
5 <link rel="stylesheet" type="text/css" href="../../static/style.css">
9 <h1><a href="../cli/npm-search.html">npm-search</a></h1> <p>Search for packages</p>
11 <h2 id="SYNOPSIS">SYNOPSIS</h2>
13 <pre><code>npm search [search terms ...]
14 npm s [search terms ...]
15 npm se [search terms ...]</code></pre>
17 <h2 id="DESCRIPTION">DESCRIPTION</h2>
19 <p>Search the registry for packages matching the search terms.</p>
21 <p>If a term starts with <code>/</code>, then it's interpreted as a regular expression.
22 A trailing <code>/</code> will be ignored in this case. (Note that many regular
23 expression characters must be escaped or quoted in most shells.)</p>
25 <h2 id="SEE-ALSO">SEE ALSO</h2>
27 <ul><li><a href="../misc/npm-registry.html">npm-registry(7)</a></li><li><a href="../cli/npm-config.html">npm-config(1)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../files/npmrc.html">npmrc(5)</a></li><li><a href="../cli/npm-view.html">npm-view(1)</a></li></ul>
29 <p id="footer">npm-search — npm@1.3.17</p>
32 var wrapper = document.getElementById("wrapper")
33 var els = Array.prototype.slice.call(wrapper.getElementsByTagName("*"), 0)
34 .filter(function (el) {
35 return el.parentNode === wrapper
36 && el.tagName.match(/H[1-6]/)
40 , toc = document.createElement("ul")
41 toc.innerHTML = els.map(function (el) {
42 var i = el.tagName.charAt(1)
52 out += "<li><a href='#" + el.id + "'>" +
53 ( el.innerText || el.text || el.innerHTML)
58 document.body.appendChild(toc)