Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 5021c4dca8
Fetching contributors…

Cannot retrieve contributors at this time

34 lines (33 sloc) 0.725 kb
.\" Generated with Ronnjs/v0.1
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-DEPRECATE" "3" "August 2011" "" ""
.
.SH "NAME"
\fBnpm-deprecate\fR \-\- Deprecate a version of a package
.
.SH "SYNOPSIS"
.
.nf
npm\.commands\.deprecate(args, callback)
.
.fi
.
.SH "DESCRIPTION"
This command will update the npm registry entry for a package, providing
a deprecation warning to all who attempt to install it\.
.
.P
The \'args\' parameter must have exactly two elements:
.
.IP "\(bu" 4
package@version:
To specify a range, wrap the version in quotes (e\.g\. pkg@"< 1\.2")
.
.IP "\(bu" 4
message
.
.IP "" 0
.
.P
Note that you must be the package owner to deprecate something\. See the \fBowner\fR and \fBadduser\fR help topics\.
Jump to Line
Something went wrong with that request. Please try again.