1 .TH "NPM\-EDIT" "1" "October 2016" "" ""
3 \fBnpm-edit\fR \- Edit an installed package
8 npm edit <name>[@<version>]
13 Opens the package folder in the default editor (or whatever you've
14 configured as the npm \fBeditor\fP config \-\- see npm help 7 \fBnpm\-config\fP\|\.)
16 After it has been edited, the package is rebuilt so as to pick up any
17 changes in compiled packages\.
19 For instance, you can do \fBnpm install connect\fP to install connect
20 into your package, and then \fBnpm edit connect\fP to make a few
21 changes to your locally installed copy\.
26 Default: \fBEDITOR\fP environment variable if set, or \fB"vi"\fP on Posix,
27 or \fB"notepad"\fP on Windows\.
33 The command to run for \fBnpm edit\fP or \fBnpm config edit\fP\|\.