1 .TH "NPM\-DEPRECATE" "3" "March 2015" "" ""
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]\fR
20 The \fBversion\fR 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\fR and \fBadduser\fR help topics\.
32 To un\-deprecate a package, specify an empty string (\fB""\fR) for the \fBmessage\fR argument\.