Welcome to mirror list, hosted at ThFree Co, Russian Federation.

edit.1 « man1 - github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: bf736a653ae57e949ad2edcfbf57b71666c7cb47 (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
.\" Generated with Ronnjs/v0.1
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-EDIT" "1" "January 2011" "" ""
.
.SH "NAME"
\fBnpm-edit\fR \-\- Edit an installed package
.
.SH "SYNOPSIS"
.
.nf
npm edit <name>[@<version>]
.
.fi
.
.SH "DESCRIPTION"
Opens the package folder in the default editor (or whatever you\'ve
configured as the npm \fBeditor\fR config \-\- see \fBnpm help config\fR\|\.)
.
.P
After it has been edited, the package is rebuilt so as to pick up any
changes in compiled packages\.
.
.P
Note: If you\'re finding yourself using this a lot, it\'s probably better
to use \fBnpm link\fR instead\.  However, it is extremely handy when used in
conjunction with \fBnpm bundle\fR\|\.
.
.P
For instance, you can do \fBnpm bundle install connect\fR to install connect
into your package, and then \fBnpm bundle edit connect\fR to make a few
changes to your locally bundled copy\.