mirror of
https://github.com/nodejs/node.git
synced 2025-05-19 04:51:50 +00:00

* Check SHA before using files from cache * adduser: allow change of the saved password * Make `npm install` respect `config.unicode` * Fix lifecycle to pass `Infinity` for config env value * Don't return 0 exit code on invalid command * cache: Handle 404s and other HTTP errors as errors * bump tap dep, make tests stderr a bit quieter * Resolve ~ in path configs to env.HOME * Include npm version in default user-agent conf * npm init: Use ISC as default license, use save-prefix for deps * Many test and doc fixes
59 lines
1.1 KiB
Groff
59 lines
1.1 KiB
Groff
.\" Generated with Ronnjs 0.3.8
|
|
.\" http://github.com/kapouer/ronnjs/
|
|
.
|
|
.TH "NPM\-UNPUBLISH" "1" "May 2014" "" ""
|
|
.
|
|
.SH "NAME"
|
|
\fBnpm-unpublish\fR \-\- Remove a package from the registry
|
|
.
|
|
.SH "SYNOPSIS"
|
|
.
|
|
.nf
|
|
npm unpublish <name>[@<version>]
|
|
.
|
|
.fi
|
|
.
|
|
.SH "WARNING"
|
|
\fBIt is generally considered bad behavior to remove versions of a library
|
|
that others are depending on!\fR
|
|
.
|
|
.P
|
|
Consider using the \fBdeprecate\fR command
|
|
instead, if your intent is to encourage users to upgrade\.
|
|
.
|
|
.P
|
|
There is plenty of room on the registry\.
|
|
.
|
|
.SH "DESCRIPTION"
|
|
This removes a package version from the registry, deleting its
|
|
entry and removing the tarball\.
|
|
.
|
|
.P
|
|
If no version is specified, or if all versions are removed then
|
|
the root package entry is removed from the registry entirely\.
|
|
.
|
|
.P
|
|
Even if a package version is unpublished, that specific name and
|
|
version combination can never be reused\. In order to publish the
|
|
package again, a new version number must be used\.
|
|
.
|
|
.SH "SEE ALSO"
|
|
.
|
|
.IP "\(bu" 4
|
|
npm help deprecate
|
|
.
|
|
.IP "\(bu" 4
|
|
npm help publish
|
|
.
|
|
.IP "\(bu" 4
|
|
npm help registry
|
|
.
|
|
.IP "\(bu" 4
|
|
npm help adduser
|
|
.
|
|
.IP "\(bu" 4
|
|
npm help owner
|
|
.
|
|
.IP "" 0
|
|
|