1 .TH "NPM\-DEPRECATE" "3" "October 2016" "" ""
3 \fBnpm-deprecate\fR \- Deprecate a version of a package
8 npm\.commands\.deprecate(args, callback)
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 The 'args' parameter must have exactly two elements:
19 \fBpackage[@version]\fP
20 The \fBversion\fP portion is optional, and may be either a range, or a
21 specific version, or a tag\.
24 The warning message that will be printed whenever a user attempts to
29 Note that you must be the package owner to deprecate something\. See the
30 \fBowner\fP and \fBadduser\fP help topics\.
32 To un\-deprecate a package, specify an empty string (\fB""\fP) for the \fBmessage\fP argument\.