summaryrefslogtreecommitdiff
path: root/deps/npm/man/man3/npm-edit.3
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/man/man3/npm-edit.3')
-rw-r--r--deps/npm/man/man3/npm-edit.329
1 files changed, 11 insertions, 18 deletions
diff --git a/deps/npm/man/man3/npm-edit.3 b/deps/npm/man/man3/npm-edit.3
index bcdabb6f2..0c52d9642 100644
--- a/deps/npm/man/man3/npm-edit.3
+++ b/deps/npm/man/man3/npm-edit.3
@@ -1,35 +1,28 @@
-.\" Generated with Ronnjs 0.3.8
-.\" http://github.com/kapouer/ronnjs/
-.
.TH "NPM\-EDIT" "3" "September 2014" "" ""
-.
.SH "NAME"
-\fBnpm-edit\fR \-\- Edit an installed package
-.
-.SH "SYNOPSIS"
-.
-.nf
+\fBnpm-edit\fR \- Edit an installed package
+.SH SYNOPSIS
+.P
+.RS 2
+.EX
npm\.commands\.edit(package, callback)
-.
-.fi
-.
-.SH "DESCRIPTION"
-Opens the package folder in the default editor (or whatever you\'ve
+.EE
+.RE
+.SH DESCRIPTION
+.P
+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
For instance, you can do \fBnpm install connect\fR to install connect
into your package, and then \fBnpm\.commands\.edit(["connect"], callback)\fR
to make a few changes to your locally installed copy\.
-.
.P
The first parameter is a string array with a single element, the package
to open\. The package can optionally have a version number attached\.
-.
.P
Since this command opens an editor in a new process, be careful about where
and how this is used\.
+