tame-schema-parser
v0.1.1
Published
Syntactic sugar to tame schema
Downloads
8
Readme
Tame Schema Parser
adds Syntactic sugar to Schema used by tame
Functionality :
- inline defination of schemas
Api :
var sugar = require('tame-schema-parser').schemaParser;
const schema = {
"invoiceDetails": [
"Bill No.<-Number",
"Company Name<-UniqeId",
"Total Amount<-Number:0.0",
"Discount<-Number:0.00",
"Grand Total<-Number:0.0"
]
}
var parsedSchema = sugar(schema);