mirror of https://github.com/lukechilds/node.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
623 B
21 lines
623 B
13 years ago
|
npm-unpublish(3) -- Remove a package from the registry
|
||
|
======================================================
|
||
|
|
||
|
## SYNOPSIS
|
||
|
|
||
|
npm.commands.unpublish(package, callback)
|
||
|
|
||
|
## DESCRIPTION
|
||
|
|
||
|
This removes a package version from the registry, deleting its
|
||
|
entry and removing the tarball.
|
||
|
|
||
|
The package parameter must be defined.
|
||
|
|
||
|
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.
|
||
|
|
||
|
If no version is specified, or if all versions are removed then
|
||
|
the root package entry is removed from the registry entirely.
|