summaryrefslogtreecommitdiff
path: root/deps/npm/man/man3/npm-uninstall.3
blob: 0bd8ec3023c81776c8d50687ebf66fe8a023d4b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
.TH "NPM\-UNINSTALL" "3" "June 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\.