Legalize.js

Legalize.js

A generic object validation library for the browser and NodeJS.

Download legalize.min.js (8.1KB)

npm install --save legalize

It's easy

Legalize schemas are easy to define and feature rich. Checkout the documentation:

» README.md

It's free

Both free as in beer and in freedom of speech. It's licensed unter the Apache License Version 2.0.

» View annotated source

Works in the Browser

Legalize supports all major browser up to (down to?) IE 8. Did you find something not working in any browsers?

» File an issue

Works in Node.js™

It's published on npm and tested with Node.js™ ≥ 0.10 and io.js.

» npm module

Pull Requests welcome!

We <3 Pull Requests. Found a bug? Thinking of a feature? Go ahead!

» Create a PR

≥ 90% Coverage

Quality matters. We try to achieve a high unit test coverage.

» Coverage Report

Fork me on GitHub