Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 29 lines (16 sloc) 0.698 kB
85159f8 @isaacs Doc for the deprecate command
isaacs authored
1 npm-deprecate(1) -- Deprecate a version of a package
2 ====================================================
3
4 ## SYNOPSIS
5
ec15d6a @evnm Standardize synopsis format in docs.
evnm authored
6 npm deprecate <name>[@<version>] <message>
85159f8 @isaacs Doc for the deprecate command
isaacs authored
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 It works on version ranges as well as specific versions, so you can do
14 something like this:
15
16 npm deprecate my-thing@"< 0.2.3" "critical bug fixed in v0.2.3"
17
4daf4e5 @isaacs first wave of documentation overhaul.
isaacs authored
18 Note that you must be the package owner to deprecate something. See the
19 `owner` and `adduser` help topics.
20
4005bd9 @isaacs s/CONFIG/CONFIGURATION/
isaacs authored
21 ## CONFIGURATION
4daf4e5 @isaacs first wave of documentation overhaul.
isaacs authored
22
23 ### registry
24
25 Default: https://registry.npmjs.org/
26
27 The base URL of the npm package registry.
28
Something went wrong with that request. Please try again.