Script | Goldcoders

const report = cli.executeOnText(code, 'path/to/your/file.js', true);