minschema

a (html form) schema builder & validator

npm install minschema
4 downloads in the last week
16 downloads in the last month

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

npm loves you