summaryrefslogtreecommitdiff
path: root/deps/npm/man/man3/npm-uninstall.3
blob: 04a1a536c7ad820b15e058775219cf8c606b0576 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-UNINSTALL" "3" "April 2014" "" ""
.
.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\.