Skip to content

TotalTechGeek/otter-json-schema

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

otter-json-schema

This module is designed to generate JSON Schema from a syntax very similar to joi.

const Schema = require('otter-json-schema')
const schema = Schema.object({
    a: Schema.number().min(5).max(10),
    b: Schema.number()
}).toJSON()

Todo

  • Documentation

About

A joi-like tool for generating json-schema

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published