mirror of https://github.com/nodejs/node.git
25 lines
658 B
Groff
25 lines
658 B
Groff
.TH "NPM\-UNPUBLISH" "3" "March 2015" "" ""
|
|
.SH "NAME"
|
|
\fBnpm-unpublish\fR \- Remove a package from the registry
|
|
.SH SYNOPSIS
|
|
.P
|
|
.RS 2
|
|
.nf
|
|
npm\.commands\.unpublish(package, callback)
|
|
.fi
|
|
.RE
|
|
.SH DESCRIPTION
|
|
.P
|
|
This removes a package version from the registry, deleting its
|
|
entry and removing the tarball\.
|
|
.P
|
|
The package parameter must be defined\.
|
|
.P
|
|
Only the first element in the package parameter is used\. If there is no first
|
|
element, then npm assumes that the package at the current working directory
|
|
is what is meant\.
|
|
.P
|
|
If no version is specified, or if all versions are removed then
|
|
the root package entry is removed from the registry entirely\.
|
|
|