valts
v0.0.6
Published
`npm i valts` # Usage Definge your schema using valts ```ts import {Obj,Validate} from "valts";
Readme
install
npm i valts
Usage
Definge your schema using valts
import {Obj,Validate} from "valts";
let schema=Obj({
name: { type: "string" },
email: { type: "string", email: [true, "Invalid Email"] },
});
let validate=Validate(schema,{name:"ameen",email:"[email protected]"})