Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
npm-undeprecate.md62 linesDownload Raw Back to commands
1---
2title: npm-undeprecate
3section: 1
4description: Undeprecate a version of a package
5---
6
7### Synopsis
8
9```bash
10npm undeprecate <package-spec>
11```
12
13Note: This command is unaware of workspaces.
14
15### Description
16
17This command will update the npm registry entry for a package, removing any deprecation warnings that currently exist.
18
19It works in the same way as [npm deprecate](/commands/npm-deprecate), except that this command removes deprecation warnings instead of adding them.
20
21### Configuration
22
23#### `registry`
24
25* Default: "https://registry.npmjs.org/"
26* Type: URL
27
28The base URL of the npm registry.
29
30
31
32#### `otp`
33
34* Default: null
35* Type: null or String
36
37This is a one-time password from a two-factor authenticator. It's needed
38when publishing or changing package permissions with `npm access`.
39
40If not set, and a registry response fails with a challenge for a one-time
41password, npm will prompt on the command line for one.
42
43
44
45#### `dry-run`
46
47* Default: false
48* Type: Boolean
49
50Indicates that you don't want npm to make any changes and that it should
51only report what it would have done. This can be passed into any of the
52commands that modify your local installation, eg, `install`, `update`,
53`dedupe`, `uninstall`, as well as `pack` and `publish`.
54
55Note: This is NOT honored by other network related commands, eg `dist-tags`,
56`owner`, etc.
57
58
59### See Also
60
61* [npm deprecate](/commands/npm-deprecate)
62 
codekingpro/portable-devtools · Team Ai