| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 | .TH "NPM\-EDIT" "1" "August 2021" "" "".SH "NAME"\fBnpm-edit\fR \- Edit an installed package.SS Synopsis.P.RS 2.nfnpm edit <pkg>[/<subpkg>\.\.\.].fi.RE.SS Description.PSelects a (sub)dependency in the currentworking directory and opens the package folder in the default editor(or whatever you've configured as the npm \fBeditor\fP config \-\- see\fBnpm\-config\fP \fInpm\-config)\.\fR.PAfter it has been edited, the package is rebuilt so as to pick up anychanges in compiled packages\..PFor instance, you can do \fBnpm install connect\fP to install connectinto your package, and then \fBnpm edit connect\fP to make a fewchanges to your locally installed copy\..SS Configuration.SS editor.RS 0.IP \(bu 2Default: \fBEDITOR\fP environment variable if set, or \fB"vi"\fP on Posix,or \fB"notepad"\fP on Windows\..IP \(bu 2Type: path.RE.PThe command to run for \fBnpm edit\fP or \fBnpm config edit\fP\|\..SS See Also.RS 0.IP \(bu 2npm help folders.IP \(bu 2npm help explore.IP \(bu 2npm help install.IP \(bu 2npm help config.IP \(bu 2npm help npmrc.RE
 |