node/deps/npm/man/man3/uninstall.3

26 lines
625 B
Groff
Raw Normal View History

2012-08-07 04:07:31 +08:00
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
2012-12-13 06:41:28 +08:00
.TH "NPM\-UNINSTALL" "3" "December 2012" "" ""
.
.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\.