btakita-esvalidate

A CLI for esvalidate

esvalidate

A command line interface and npm package for ESValidate - a JavaScript validator using Esprima.

To use esvalidate from any location (for npm v1.x) you need to install using the global (-g) flag.

npm install -g esvalidate
esvalidate -h

You can also require ESValidate itself as a module.

var esvalidate = require('esvalidate');

Note: If you are using npm v1.x be sure to install esvalidate locally (without the -g flag) or link it globally.

Specify a custom reporter module (see example/reporter.js).

--reporter path/to/reporter.js