1NPM-DEPRECATE(1)                                              NPM-DEPRECATE(1)
2
3
4

NAME

6       npm-deprecate - Deprecate a version of a package
7

SYNOPSIS

9         npm deprecate <pkg>[@<version>] <message>
10

DESCRIPTION

12       This  command will update the npm registry entry for a package, provid‐
13       ing a deprecation warning to all who attempt to install it.
14
15       It works on version ranges https://semver.npmjs.com/ as  well  as  spe‐
16       cific versions, so you can do something like this:
17
18         npm deprecate my-thing@"< 0.2.3" "critical bug fixed in v0.2.3"
19
20       Note  that  you  must be the package owner to deprecate something.  See
21       the owner and adduser help topics.
22
23       To un-deprecate a package, specify an empty string ("") for the message
24       argument.  Note  that  you must use double quotes with no space between
25       them to format an empty string.
26

SEE ALSO

28       · npm help publish
29
30       · npm help 7 registry
31
32
33
34
35
36                                  April 2019                  NPM-DEPRECATE(1)
Impressum