Composable schemas for JavaScript and Node.js
Home Page:https://git.io/schm
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
diegohaz opened this issue 6 years ago · comments
parse({ foo: 1 }, { foo: Number }) validate({ foo: 1 }, { foo: { type: Number, min: 2 } })