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.
|
|
|
.TH "NPM\-UNINSTALL" "3" "November 2015" "" ""
|
|
|
|
.SH "NAME"
|
|
|
|
\fBnpm-uninstall\fR \- uninstall a package programmatically
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.P
|
|
|
|
.RS 2
|
|
|
|
.nf
|
|
|
|
npm\.commands\.uninstall(packages, callback)
|
|
|
|
.fi
|
|
|
|
.RE
|
|
|
|
.SH DESCRIPTION
|
|
|
|
.P
|
|
|
|
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\.
|
|
|
|
|