To get started with Nerio you should have the latest Node.js (including
npm) installed on your system. There is a
devenv script included that will install it for you on unix-like platforms. Note: you need to download
npm directly from nodejs.org becuase the version tracked by most package managers is too old.
npm install -g email@example.com:kmacrow/Nerio.git
Then you can use
nerio on the command line,
$ echo "var PI = 3.14;" | nerio
or pass it a file to check:
$ nerio samples/eval.jsFailed:EVAL: Explicit call to eval() at 2:0EVAL: Assignment to result of eval() at 4:8EVAL: Assignment to result of eval() at 4:22...
or the programmatic API:
nerio = ;nerio;
There is also an API compiled for use directly in the browser.