]> gerrit.simantics Code Review - simantics/district.git/blob - org.simantics.maps.server/node/node-v4.8.0-win-x64/node_modules/npm/doc/api/npm-deprecate.md
Adding integrated tile server
[simantics/district.git] / org.simantics.maps.server / node / node-v4.8.0-win-x64 / node_modules / npm / doc / api / npm-deprecate.md
1 npm-deprecate(3) -- Deprecate a version of a package
2 ====================================================
3
4 ## SYNOPSIS
5
6     npm.commands.deprecate(args, callback)
7
8 ## DESCRIPTION
9
10 This command will update the npm registry entry for a package, providing
11 a deprecation warning to all who attempt to install it.
12
13 The 'args' parameter must have exactly two elements:
14
15 * `package[@version]`
16
17     The `version` portion is optional, and may be either a range, or a
18     specific version, or a tag.
19
20 * `message`
21
22     The warning message that will be printed whenever a user attempts to
23     install the package.
24
25 Note that you must be the package owner to deprecate something.  See the
26 `owner` and `adduser` help topics.
27
28 To un-deprecate a package, specify an empty string (`""`) for the `message` argument.
29
30 ## SEE ALSO
31
32 * npm-publish(3)
33 * npm-unpublish(3)
34 * npm-registry(7)