]> gerrit.simantics Code Review - simantics/district.git/blob - org.simantics.maps.server/node/node-v4.8.0-win-x64/node_modules/npm/doc/api/npm-install.md
Adding integrated tile server
[simantics/district.git] / org.simantics.maps.server / node / node-v4.8.0-win-x64 / node_modules / npm / doc / api / npm-install.md
1 npm-install(3) -- install a package programmatically
2 ====================================================
3
4 ## SYNOPSIS
5
6     npm.commands.install([where,] packages, callback)
7
8 ## DESCRIPTION
9
10 This acts much the same ways as installing on the command-line.
11
12 The 'where' parameter is optional and only used internally, and it specifies
13 where the packages should be installed to.
14
15 The 'packages' parameter is an array of strings. Each element in the array is
16 the name of a package to be installed.
17
18 Finally, 'callback' is a function that will be called when all packages have been
19 installed or when an error has been encountered.