Install and configure the Node.js runtime required by the Dashboards.PHP server engine.

Code overview. Load or create the dashboard, resolve the target component or option, apply the requested properties, and render the updated result.
$nodejs = new StiNodeJs();
$result = $nodejs->installNodeJS();
if ($result)
    $result = $nodejs->updatePackages();
echo $result ? 'The installation was successful.' : $nodejs->error;
StiNodeJs downloads and configures a local Node.js runtime and the Stimulsoft packages needed for server-side dashboard rendering.