NodePackageManager
interface NodePackageManager (View source)
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
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.
Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.