blob: c3cba10dcc99436874da355fb9a398139658e0ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
.TH "NPM\-EDIT" "1" "October 2015" "" ""
.SH "NAME"
\fBnpm-edit\fR \- Edit an installed package
.SH SYNOPSIS
.P
.RS 2
.nf
npm edit <name>[@<version>]
.fi
.RE
.SH DESCRIPTION
.P
Opens the package folder in the default editor (or whatever you've
configured as the npm \fBeditor\fP config \-\- see npm help 7 \fBnpm\-config\fP\|\.)
.P
After it has been edited, the package is rebuilt so as to pick up any
changes in compiled packages\.
.P
For instance, you can do \fBnpm install connect\fP to install connect
into your package, and then \fBnpm edit connect\fP to make a few
changes to your locally installed copy\.
.SH CONFIGURATION
.SS editor
.RS 0
.IP \(bu 2
Default: \fBEDITOR\fP environment variable if set, or \fB"vi"\fP on Posix,
or \fB"notepad"\fP on Windows\.
.IP \(bu 2
Type: path
.RE
.P
The command to run for \fBnpm edit\fP or \fBnpm config edit\fP\|\.
.SH SEE ALSO
.RS 0
.IP \(bu 2
npm help 5 folders
.IP \(bu 2
npm help explore
.IP \(bu 2
npm help install
.IP \(bu 2
npm help config
.IP \(bu 2
npm help 7 config
.IP \(bu 2
npm help 5 npmrc
.RE
|