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-edit.html;fp=org.simantics.maps.server%2Fnode%2Fnode-v4.8.0-win-x64%2Fnode_modules%2Fnpm%2Fhtml%2Fdoc%2Fapi%2Fnpm-edit.html;h=be2072a5784b8e6fc2b16ffef64bea7cc8df5e26;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-edit.html b/org.simantics.maps.server/node/node-v4.8.0-win-x64/node_modules/npm/html/doc/api/npm-edit.html new file mode 100644 index 00000000..be2072a5 --- /dev/null +++ b/org.simantics.maps.server/node/node-v4.8.0-win-x64/node_modules/npm/html/doc/api/npm-edit.html @@ -0,0 +1,40 @@ + + +
Edit an installed package
+npm.commands.edit(package, callback)
+
Opens the package folder in the default editor (or whatever you've
+configured as the npm editor
config -- see npm help config
.)
After it has been edited, the package is rebuilt so as to pick up any +changes in compiled packages.
+For instance, you can do npm install connect
to install connect
+into your package, and then npm.commands.edit(["connect"], callback)
+to make a few changes to your locally installed copy.
The first parameter is a string array with a single element, the package +to open. The package can optionally have a version number attached.
+Since this command opens an editor in a new process, be careful about where +and how this is used.
+ +