interface NodePackageManager

Methods

static bool
matches()

Determine if the package manager is in use.

string
getRunCommand(string $command)

Get the command to run a script using the package manager.

string
getExecCommand(string $command)

Get the command to execute a package using the package manager.

Details

at line 12
static bool matches()

Determine if the package manager is in use.

Return Value

bool

at line 17
string getRunCommand(string $command)

Get the command to run a script using the package manager.

Parameters

string $command

Return Value

string

at line 22
string getExecCommand(string $command)

Get the command to execute a package using the package manager.

Parameters

string $command

Return Value

string