2011-11-27 01:21:03 +08:00
|
|
|
.\" Generated with Ronnjs/v0.1
|
|
|
|
.\" http://github.com/kapouer/ronnjs/
|
|
|
|
.
|
2011-12-01 08:45:26 +08:00
|
|
|
.TH "NPM\-UNINSTALL" "3" "December 2011" "" ""
|
2011-11-27 01:21:03 +08:00
|
|
|
.
|
|
|
|
.SH "NAME"
|
|
|
|
\fBnpm-uninstall\fR \-\- uninstall a package programmatically
|
|
|
|
.
|
|
|
|
.SH "SYNOPSIS"
|
|
|
|
.
|
|
|
|
.nf
|
|
|
|
npm\.commands\.uninstall(packages, callback)
|
|
|
|
.
|
|
|
|
.fi
|
|
|
|
.
|
|
|
|
.SH "DESCRIPTION"
|
|
|
|
This acts much the same ways as uninstalling on the command\-line\.
|
|
|
|
.
|
|
|
|
.P
|
|
|
|
The \'packages\' parameter is an array of strings\. Each element in the array is
|
|
|
|
the name of a package to be uninstalled\.
|
|
|
|
.
|
|
|
|
.P
|
|
|
|
Finally, \'callback\' is a function that will be called when all packages have been
|
|
|
|
uninstalled or when an error has been encountered\.
|