Arikaim CMS

NodeJs
in package

NodeJs commands

Table of Contents

Methods

getVersion()  : string|null
Get version
isInstalled()  : bool
Return true if nodejs is installed
runCommand()  : mixed
Run nodejs command

Methods

getVersion()

Get version

public static getVersion() : string|null
Return values
string|null

isInstalled()

Return true if nodejs is installed

public static isInstalled() : bool
Return values
bool

runCommand()

Run nodejs command

public static runCommand(string $command[, bool $async = false ][, bool $realTimeOutput = false ]) : mixed
Parameters
$command : string
$async : bool = false
$realTimeOutput : bool = false

        
On this page

Search results