Npm
class Npm implements NodePackageManager
Methods
static bool
matches()
Determine if the npm package manager is in use.
string
getRunCommand(string $command)
Get the command to run a script using npm.
string
getExecCommand(string $command)
Get the command to execute a package using npm.
Details
at line 14
static bool
matches()
Determine if the npm package manager is in use.
at line 22
string
getRunCommand(string $command)
Get the command to run a script using npm.
at line 30
string
getExecCommand(string $command)
Get the command to execute a package using npm.