Global

Methods

convertToJS(filename, outfile, options)

Converts a neutrino script (.neu) to javascript (.js)
Parameters:
Name Type Description
filename File The .neu file to run
outfile File The .js output file
options Object Optional options to pass during conversion
Source:

run(filename, cb)

Executes and runs a .neu script with optional callback
Parameters:
Name Type Description
filename File The .neu file to run
cb Callback Optional callback function that returns the executed scripts console output
Source:

runBinary(filename, cb)

Runs a neutrino (.neutrino) binary
Parameters:
Name Type Description
filename File The .neu file to run
cb Callback Optional callback function that returns the executed scripts console output
Source:

web()

Finds all script tages with type="text/neutrinoscript" and executes the code within that script block
Source:

webToJS(script, cb)

Converts a web based neutrinoscript source to javascript
Parameters:
Name Type Description
script String The .neu file or script contents
cb Callback Optional callback function that returns the executed scripts console output
Source: