/deps/npm/html/doc/cli/npm-deprecate.html

https://github.com/thefosk/node · HTML · 47 lines · 33 code · 14 blank · 0 comment · 0 complexity · 6cdb0e5a6ba86642cf1480ef320c26a1 MD5 · raw file

  1. <!doctype html>
  2. <html>
  3. <title>npm-deprecate</title>
  4. <meta http-equiv="content-type" value="text/html;utf-8">
  5. <link rel="stylesheet" type="text/css" href="../../static/style.css">
  6. <script async=true src="../../static/toc.js"></script>
  7. <body>
  8. <div id="wrapper">
  9. <h1><a href="../cli/npm-deprecate.html">npm-deprecate</a></h1> <p>Deprecate a version of a package</p>
  10. <h2 id="SYNOPSIS">SYNOPSIS</h2>
  11. <pre><code>npm deprecate &lt;name&gt;[@&lt;version&gt;] &lt;message&gt;</code></pre>
  12. <h2 id="DESCRIPTION">DESCRIPTION</h2>
  13. <p>This command will update the npm registry entry for a package, providing
  14. a deprecation warning to all who attempt to install it.</p>
  15. <p>It works on version ranges as well as specific versions, so you can do
  16. something like this:</p>
  17. <pre><code>npm deprecate my-thing@&quot;&lt; 0.2.3&quot; &quot;critical bug fixed in v0.2.3&quot;</code></pre>
  18. <p>Note that you must be the package owner to deprecate something. See the
  19. <code>owner</code> and <code>adduser</code> help topics.</p>
  20. <p>To un-deprecate a package, specify an empty string (<code>&quot;&quot;</code>) for the <code>message</code> argument.</p>
  21. <h2 id="SEE-ALSO">SEE ALSO</h2>
  22. <ul><li><a href="../cli/npm-publish.html">npm-publish(1)</a></li><li><a href="../misc/npm-registry.html">npm-registry(7)</a></li></ul>
  23. </div>
  24. <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
  25. <tr><td style="width:180px;height:10px;background:rgb(237,127,127)" colspan=18>&nbsp;</td></tr>
  26. <tr><td rowspan=4 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td><td style="width:40px;height:10px;background:#fff" colspan=4>&nbsp;</td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=4>&nbsp;</td><td style="width:40px;height:10px;background:#fff" colspan=4>&nbsp;</td><td rowspan=4 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td><td colspan=6 style="width:60px;height:10px;background:#fff">&nbsp;</td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=4>&nbsp;</td></tr>
  27. <tr><td colspan=2 style="width:20px;height:30px;background:#fff" rowspan=3>&nbsp;</td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=3>&nbsp;</td><td style="width:10px;height:10px;background:#fff" rowspan=3>&nbsp;</td><td style="width:20px;height:10px;background:#fff" rowspan=4 colspan=2>&nbsp;</td><td style="width:10px;height:20px;background:rgb(237,127,127)" rowspan=2>&nbsp;</td><td style="width:10px;height:10px;background:#fff" rowspan=3>&nbsp;</td><td style="width:20px;height:10px;background:#fff" rowspan=3 colspan=2>&nbsp;</td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=3>&nbsp;</td><td style="width:10px;height:10px;background:#fff" rowspan=3>&nbsp;</td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=3>&nbsp;</td></tr>
  28. <tr><td style="width:10px;height:10px;background:#fff" rowspan=2>&nbsp;</td></tr>
  29. <tr><td style="width:10px;height:10px;background:#fff">&nbsp;</td></tr>
  30. <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
  31. <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
  32. </table>
  33. <p id="footer">npm-deprecate &mdash; npm@1.4.6</p>