X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=org.simantics.maps.server%2Fnode%2Fnode-v4.8.0-win-x64%2Fnode_modules%2Fnpm%2Fhtml%2Fdoc%2Fapi%2Fnpm-config.html;fp=org.simantics.maps.server%2Fnode%2Fnode-v4.8.0-win-x64%2Fnode_modules%2Fnpm%2Fhtml%2Fdoc%2Fapi%2Fnpm-config.html;h=e6503c6e8e1f54b026dfde7cfe94354bd8316ff8;hb=2529be6d456deeb07c128603ce4971f1dc29b695;hp=0000000000000000000000000000000000000000;hpb=2636fc31c16c23711cf2b06a4ae8537bba9c1d35;p=simantics%2Fdistrict.git diff --git a/org.simantics.maps.server/node/node-v4.8.0-win-x64/node_modules/npm/html/doc/api/npm-config.html b/org.simantics.maps.server/node/node-v4.8.0-win-x64/node_modules/npm/html/doc/api/npm-config.html new file mode 100644 index 00000000..e6503c6e --- /dev/null +++ b/org.simantics.maps.server/node/node-v4.8.0-win-x64/node_modules/npm/html/doc/api/npm-config.html @@ -0,0 +1,61 @@ + + +
Manage the npm configuration files
+npm.commands.config(args, callback)
+var val = npm.config.get(key)
+npm.config.set(key, val)
+
This function acts much the same way as the command-line version. The first +element in the array tells config what to do. Possible values are:
+set
Sets a config parameter. The second element in args
is interpreted as the
+ key, and the third element is interpreted as the value.
get
Gets the value of a config parameter. The second element in args
is the
+ key to get the value of.
delete
(rm
or del
)
Deletes a parameter from the config. The second element in args
is the
+ key to delete.
list
(ls
)
Show all configs that aren't secret. No parameters necessary.
+edit
:
Opens the config file in the default editor. This command isn't very useful + programmatically, but it is made available.
+To programmatically access npm configuration settings, or set them for
+the duration of a program, use the npm.config.set
and npm.config.get
+functions instead.