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-RUN-SCRIPT (3)

NAME

npm-run-script - Run arbitrary package scripts

CONTENTS

Description
See Also

SYNOPSIS

npm.commands.run-script(args, callback)

DESCRIPTION

This runs an arbitrary command from a package’s "scripts" object.

It is used by the test, start, restart, and stop commands, but can be called directly, as well.

The ’args’ parameter is an array of strings. Behavior depends on the number of elements. If there is only one element, npm assumes that the element represents a command to be run on the local repository. If there is more than one element, then the first is assumed to be the package and the second is assumed to be the command to run. All other elements are ignored.

SEE ALSO

o npm help 7 scripts
o npm apihelp test
o npm apihelp start
o npm apihelp restart
o npm apihelp stop

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


NPM-RUN-SCRIPT (3) October 2015

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