npm: Upgrade to 1.3.17
[platform/upstream/nodejs.git] / deps / npm / html / doc / cli / npm-unpublish.html
1 <!doctype html>
2 <html>
3   <title>npm-unpublish</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-unpublish.html">npm-unpublish</a></h1> <p>Remove a package from the registry</p>
10
11 <h2 id="SYNOPSIS">SYNOPSIS</h2>
12
13 <pre><code>npm unpublish &lt;name&gt;[@&lt;version&gt;]</code></pre>
14
15 <h2 id="WARNING">WARNING</h2>
16
17 <p><strong>It is generally considered bad behavior to remove versions of a library
18 that others are depending on!</strong></p>
19
20 <p>Consider using the <code>deprecate</code> command
21 instead, if your intent is to encourage users to upgrade.</p>
22
23 <p>There is plenty of room on the registry.</p>
24
25 <h2 id="DESCRIPTION">DESCRIPTION</h2>
26
27 <p>This removes a package version from the registry, deleting its
28 entry and removing the tarball.</p>
29
30 <p>If no version is specified, or if all versions are removed then
31 the root package entry is removed from the registry entirely.</p>
32
33 <h2 id="SEE-ALSO">SEE ALSO</h2>
34
35 <ul><li><a href="../cli/npm-deprecate.html">npm-deprecate(1)</a></li><li><a href="../cli/npm-publish.html">npm-publish(1)</a></li><li><a href="../misc/npm-registry.html">npm-registry(7)</a></li><li><a href="../cli/npm-adduser.html">npm-adduser(1)</a></li><li><a href="../cli/npm-owner.html">npm-owner(1)</a></li></ul>
36 </div>
37 <p id="footer">npm-unpublish &mdash; npm@1.3.17</p>
38 <script>
39 ;(function () {
40 var wrapper = document.getElementById("wrapper")
41 var els = Array.prototype.slice.call(wrapper.getElementsByTagName("*"), 0)
42   .filter(function (el) {
43     return el.parentNode === wrapper
44         && el.tagName.match(/H[1-6]/)
45         && el.id
46   })
47 var l = 2
48   , toc = document.createElement("ul")
49 toc.innerHTML = els.map(function (el) {
50   var i = el.tagName.charAt(1)
51     , out = ""
52   while (i > l) {
53     out += "<ul>"
54     l ++
55   }
56   while (i < l) {
57     out += "</ul>"
58     l --
59   }
60   out += "<li><a href='#" + el.id + "'>" +
61     ( el.innerText || el.text || el.innerHTML)
62     + "</a>"
63   return out
64 }).join("\n")
65 toc.id = "toc"
66 document.body.appendChild(toc)
67 })()
68 </script>