Go to repository

Function node

Returns the string for the bash command to run an node command over a particular string.

node('myscript.js')

Parameters

  • script: string

    The script to run.

Returns string

The bash command string.