1 .TH "NPM\-DEPRECATE" "1" "October 2016" "" ""
3 \fBnpm-deprecate\fR \- Deprecate a version of a package
8 npm deprecate <name>[@<version>] <message>
13 This command will update the npm registry entry for a package, providing
14 a deprecation warning to all who attempt to install it\.
16 It works on version ranges as well as specific versions, so you can do
21 npm deprecate my\-thing@"< 0\.2\.3" "critical bug fixed in v0\.2\.3"
25 Note that you must be the package owner to deprecate something\. See the
26 \fBowner\fP and \fBadduser\fP help topics\.
28 To un\-deprecate a package, specify an empty string (\fB""\fP) for the \fBmessage\fP argument\.