duereg / esvalidate

JavaScript Validation Using Esprima

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status Dependencies devDependencies NPM version

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 formatter module (see formats/junit.js).

--formatter path/to/format.js

About

JavaScript Validation Using Esprima


Languages

Language:JavaScript 100.0%