An open API service indexing awesome lists of open source software.

https://github.com/fb55/minschema

a (html form) schema builder & validator
https://github.com/fb55/minschema

Last synced: over 1 year ago
JSON representation

a (html form) schema builder & validator

Awesome Lists containing this project

README

          

#minschema
a (html form) schema builder & validator

##install

npm i minschema

##usage

var MinSchema = require("minschema");

var schema = new MinSchema({
name: String,
age: Number
});

var html = schema.toString(); //returns HTML form
console.log(schema.verify({name: "FOO", age: "100"})); //true

License: BSD