1NPM-EDIT(1)                                                        NPM-EDIT(1)
2
3
4

NAME

6       npm-edit - Edit an installed package
7

SYNOPSIS

9         npm edit <pkg>[/<subpkg>...]
10

DESCRIPTION

12       Selects  a  (sub)dependency  in the current working directory and opens
13       the package folder in the default editor (or whatever you've configured
14       as the npm editor config -- see npm help 7 npm-config.)
15
16       After  it  has been edited, the package is rebuilt so as to pick up any
17       changes in compiled packages.
18
19       For instance, you can do npm install connect to  install  connect  into
20       your  package,  and then npm edit connect to make a few changes to your
21       locally installed copy.
22

CONFIGURATION

24   editor
25       · Default: EDITOR environment variable if set, or  "vi"  on  Posix,  or
26         "notepad" on Windows.
27
28       · Type: path
29
30
31       The command to run for npm edit or npm config edit.
32

SEE ALSO

34       · npm help 5 folders
35
36       · npm help explore
37
38       · npm help install
39
40       · npm help config
41
42       · npm help 7 config
43
44       · npm help 5 npmrc
45
46
47
48
49
50                                 October 2019                      NPM-EDIT(1)
Impressum