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">
9 <h1><a href="../cli/npm-unpublish.html">npm-unpublish</a></h1> <p>Remove a package from the registry</p>
11 <h2 id="SYNOPSIS">SYNOPSIS</h2>
13 <pre><code>npm unpublish <name>[@<version>]</code></pre>
15 <h2 id="WARNING">WARNING</h2>
17 <p><strong>It is generally considered bad behavior to remove versions of a library
18 that others are depending on!</strong></p>
20 <p>Consider using the <code>deprecate</code> command
21 instead, if your intent is to encourage users to upgrade.</p>
23 <p>There is plenty of room on the registry.</p>
25 <h2 id="DESCRIPTION">DESCRIPTION</h2>
27 <p>This removes a package version from the registry, deleting its
28 entry and removing the tarball.</p>
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>
33 <h2 id="SEE-ALSO">SEE ALSO</h2>
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>
37 <p id="footer">npm-unpublish — npm@1.3.15</p>
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]/)
48 , toc = document.createElement("ul")
49 toc.innerHTML = els.map(function (el) {
50 var i = el.tagName.charAt(1)
60 out += "<li><a href='#" + el.id + "'>" +
61 ( el.innerText || el.text || el.innerHTML)
66 document.body.appendChild(toc)