]> gerrit.simantics Code Review - simantics/district.git/blob - org.simantics.maps.server/node/node-v4.8.0-win-x64/node_modules/npm/man/man3/npm-install.3
Adding integrated tile server
[simantics/district.git] / org.simantics.maps.server / node / node-v4.8.0-win-x64 / node_modules / npm / man / man3 / npm-install.3
1 .TH "NPM\-INSTALL" "3" "October 2016" "" ""
2 .SH "NAME"
3 \fBnpm-install\fR \- install a package programmatically
4 .SH SYNOPSIS
5 .P
6 .RS 2
7 .nf
8 npm\.commands\.install([where,] packages, callback)
9 .fi
10 .RE
11 .SH DESCRIPTION
12 .P
13 This acts much the same ways as installing on the command\-line\.
14 .P
15 The 'where' parameter is optional and only used internally, and it specifies
16 where the packages should be installed to\.
17 .P
18 The 'packages' parameter is an array of strings\. Each element in the array is
19 the name of a package to be installed\.
20 .P
21 Finally, 'callback' is a function that will be called when all packages have been
22 installed or when an error has been encountered\.
23