ioBuster framework v25.02.4 documentation


Global

Members

$dirname :String

Current script file name.

Type:
  • String

$filename :String

Current script path. Relative to workspace root.

Type:
  • String

Buffer :Buffer

Node.js Buffer Class.

Type:

Methods

importScript(scriptPath)

Imports a script. This ensures the specified script will be executed only once if executed before.

Parameters:
Name Type Description
scriptPath String

Relative path to a script.

runScript(scriptPath)

Runs a script

Parameters:
Name Type Description
scriptPath String

Relative path to a script.