1 npm-deprecate(1) -- Deprecate a version of a package
2 ====================================================
6 npm deprecate <name>[@<version>] <message>
10 This command will update the npm registry entry for a package, providing
11 a deprecation warning to all who attempt to install it.
13 It works on version ranges as well as specific versions, so you can do
16 npm deprecate my-thing@"< 0.2.3" "critical bug fixed in v0.2.3"
18 Note that you must be the package owner to deprecate something. See the
19 `owner` and `adduser` help topics.
21 To un-deprecate a package, specify an empty string (`""`) for the `message` argument.