rhino-1_7r4-bin
rhino-1_7r4-bin is a Node.js binary wrapper for Rhino 1.7R4. Other binaries are also available for Rhino 1.7R3 and 1.7R5.
Installation
$ npm install --save rhino-1_7r4-bin
Usage
var child_process = ;var rhino = ; // Using `child_process.spawn`var proc = child_process; procstdout; procstderr; proc; // Using `child_process.execFile`child_process;
CLI
$ npm install --global rhino-1_7r4-bin
$ rhino1_7r4 -helpUsage: java org.mozilla.javascript.tools.shell.Main [options...] [files]Valid options are: -?, -help Displays help messages. -w Enable warnings. -version 100|110|120|130|140|150|160|170|180 Set a specific language version. -opt [-1|0-9] Set optimization level. -f script-filename Execute script file, or "-"