GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  NPM-EDIT (3)

NAME

npm-edit - Edit an installed package

CONTENTS

Description

SYNOPSIS

npm.commands.edit(package, callback)

DESCRIPTION

Opens the package folder in the default editor (or whatever you’ve configured as the npm editor config -- see npm help 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.commands.edit(["connect"], callback) to make a few changes to your locally installed copy.

The first parameter is a string array with a single element, the package to open. The package can optionally have a version number attached.

Since this command opens an editor in a new process, be careful about where and how this is used.

Search for    or go to Top of page |  Section 3 |  Main Index


NPM-EDIT (3) October 2015

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.