e46afdba8a90af0709fa25816454c18a09d0ac86
[platform/upstream/nodejs.git] / deps / npm / html / doc / cli / npm-star.html
1 <!doctype html>
2 <html>
3   <title>npm-star</title>
4   <meta http-equiv="content-type" value="text/html;utf-8">
5   <link rel="stylesheet" type="text/css" href="../../static/style.css">
6
7   <body>
8     <div id="wrapper">
9 <h1><a href="../cli/npm-star.html">npm-star</a></h1> <p>Mark your favorite packages</p>
10
11 <h2 id="SYNOPSIS">SYNOPSIS</h2>
12
13 <pre><code>npm star &lt;pkgname&gt; [&lt;pkg&gt;, ...]
14 npm unstar &lt;pkgname&gt; [&lt;pkg&gt;, ...]</code></pre>
15
16 <h2 id="DESCRIPTION">DESCRIPTION</h2>
17
18 <p>&quot;Starring&quot; a package means that you have some interest in it.  It&#39;s
19 a vaguely positive way to show that you care.</p>
20
21 <p>&quot;Unstarring&quot; is the same thing, but in reverse.</p>
22
23 <p>It&#39;s a boolean thing.  Starring repeatedly has no additional effect.</p>
24
25 <h2 id="SEE-ALSO">SEE ALSO</h2>
26
27 <ul><li><a href="../cli/npm-view.html">npm-view(1)</a></li><li><a href="../cli/npm-whoami.html">npm-whoami(1)</a></li><li><a href="../cli/npm-adduser.html">npm-adduser(1)</a></li></ul>
28 </div>
29 <p id="footer">npm-star &mdash; npm@1.3.17</p>
30 <script>
31 ;(function () {
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]/)
37         && el.id
38   })
39 var l = 2
40   , toc = document.createElement("ul")
41 toc.innerHTML = els.map(function (el) {
42   var i = el.tagName.charAt(1)
43     , out = ""
44   while (i > l) {
45     out += "<ul>"
46     l ++
47   }
48   while (i < l) {
49     out += "</ul>"
50     l --
51   }
52   out += "<li><a href='#" + el.id + "'>" +
53     ( el.innerText || el.text || el.innerHTML)
54     + "</a>"
55   return out
56 }).join("\n")
57 toc.id = "toc"
58 document.body.appendChild(toc)
59 })()
60 </script>