npm-edit - Edit an installed package Synopsis npm edit <pkg>[/<subpkg>...] Note: This command is unaware of workspaces. Description Selects a dependency in the current project and opens the package folder in the default editor (or whatever you've configured as the npm editor config -- see npm-config npm-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 edit connect to make a few changes to your locally installed copy. Configuration editor o Default: The EDITOR or VISUAL environment variables, or 'notepad.exe' on Windows, or 'vim' on Unix systems o Type: String The command to run for npm edit and npm config edit. See Also o npm help folders o npm help explore o npm help install o npm help config o npm help npmrc
Please see following description for synopsis
NPM-EDIT(1) NPM-EDIT(1)
NAME
npm-edit - Edit an installed package
Synopsis
npm edit <pkg>[/<subpkg>...]
Note: This command is unaware of workspaces.
Description
Selects a dependency in the current project and opens the package
folder in the default editor (or whatever you've configured as the npm
editor config -- see npm-config npm-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 edit connect to make a few changes to your
locally installed copy.
Configuration
editor
o Default: The EDITOR or VISUAL environment variables, or 'notepad.exe'
on Windows, or 'vim' on Unix systems
o Type: String
The command to run for npm edit and npm config edit.
See Also
o npm help folders
o npm help explore
o npm help install
o npm help config
o npm help npmrc
ATTRIBUTES
See attributes(7) for descriptions of the following attributes:
+---------------+--------------------------+
|ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+---------------+--------------------------+
|Availability | runtime/nodejs/nodejs-18 |
+---------------+--------------------------+
|Stability | Pass-thru volatile |
+---------------+--------------------------+
NOTES
Source code for open source software components in Oracle Solaris can
be found at https://www.oracle.com/downloads/opensource/solaris-source-
code-downloads.html.
This software was built from source available at
https://github.com/oracle/solaris-userland. The original community
source was downloaded from https://github.com/nodejs/node/ar-
chive/v18.1.0.zip.
Further information about this software can be found on the open source
community website at https://github.com/nodejs/node.
April 2022 NPM-EDIT(1)