namuol / gavel.js

Gavel HTTP validator JavaScript library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GAVEL—JavaScript library for HTTP validation

Build Status Dependency Status devDependency Status Coverage Status

Usage

var gavel = require('gavel');
gavel.isValid(response, expected, 'request', function(error,result){
  console.log result;
});

Installation

npm install gavel

Resources

Development

$ git clone git@github.com:apiaryio/gavel.js.git
$ cd gavel.js
$ git submodule init
$ git submodule update
$ npm install
$ npm test

Codo API documentation is published with use of Github post-receive hook

This README.md is generated by build script in [./scripts/build] from Gavel's Cucumber documentation repository

About

Gavel HTTP validator JavaScript library