5e411bbb95a9ce49992b722ae309782733b8a286
[platform/upstream/nodejs.git] / deps / npm / man / man3 / npm-uninstall.3
1 .\" Generated with Ronnjs 0.3.8
2 .\" http://github.com/kapouer/ronnjs/
3 .
4 .TH "NPM\-UNINSTALL" "3" "November 2013" "" ""
5 .
6 .SH "NAME"
7 \fBnpm-uninstall\fR \-\- uninstall a package programmatically
8 .
9 .SH "SYNOPSIS"
10 .
11 .nf
12 npm\.commands\.uninstall(packages, callback)
13 .
14 .fi
15 .
16 .SH "DESCRIPTION"
17 This acts much the same ways as uninstalling on the command\-line\.
18 .
19 .P
20 The \'packages\' parameter is an array of strings\. Each element in the array is
21 the name of a package to be uninstalled\.
22 .
23 .P
24 Finally, \'callback\' is a function that will be called when all packages have been
25 uninstalled or when an error has been encountered\.