]> gerrit.simantics Code Review - simantics/district.git/blob - org.simantics.maps.server/node/node-v4.8.0-win-x64/node_modules/npm/man/man3/npm-deprecate.3
Adding integrated tile server
[simantics/district.git] / org.simantics.maps.server / node / node-v4.8.0-win-x64 / node_modules / npm / man / man3 / npm-deprecate.3
1 .TH "NPM\-DEPRECATE" "3" "October 2016" "" ""
2 .SH "NAME"
3 \fBnpm-deprecate\fR \- Deprecate a version of a package
4 .SH SYNOPSIS
5 .P
6 .RS 2
7 .nf
8 npm\.commands\.deprecate(args, callback)
9 .fi
10 .RE
11 .SH DESCRIPTION
12 .P
13 This command will update the npm registry entry for a package, providing
14 a deprecation warning to all who attempt to install it\.
15 .P
16 The 'args' parameter must have exactly two elements:
17 .RS 0
18 .IP \(bu 2
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\.
22 .IP \(bu 2
23 \fBmessage\fP
24   The warning message that will be printed whenever a user attempts to
25   install the package\.
26
27 .RE
28 .P
29 Note that you must be the package owner to deprecate something\.  See the
30 \fBowner\fP and \fBadduser\fP help topics\.
31 .P
32 To un\-deprecate a package, specify an empty string (\fB""\fP) for the \fBmessage\fP argument\.
33 .SH SEE ALSO
34 .RS 0
35 .IP \(bu 2
36 npm apihelp publish
37 .IP \(bu 2
38 npm apihelp unpublish
39 .IP \(bu 2
40 npm help 7 registry
41
42 .RE
43