blob: 273e1452c36360b81502e333d89531a6108436a4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
npm-deprecate(3) -- Deprecate a version of a package
====================================================
## SYNOPSIS
npm.commands.deprecate(args, callback)
## DESCRIPTION
This command will update the npm registry entry for a package, providing
a deprecation warning to all who attempt to install it.
The 'args' parameter must have exactly two elements:
* package@version:
To specify a range, wrap the version in quotes (e.g. pkg@"< 1.2")
* message
Note that you must be the package owner to deprecate something. See the
`owner` and `adduser` help topics.
|