esvalidate

A CLI for JavaScript validation

npm install esvalidate
1 downloads in the last day
2 downloads in the last week
18 downloads in the last month

esvalidate

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

Install

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

npm install -g esvalidate

Usage

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.

Text Editor Plugins

Custom Reporters

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

--reporter path/to/reporter.js
npm loves you