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
- Host: GitHub
- URL: https://github.com/fb55/minschema
- Owner: fb55
- Created: 2013-06-15T21:51:52.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2016-11-01T09:05:21.000Z (over 9 years ago)
- Last Synced: 2025-02-24T20:05:22.496Z (over 1 year ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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