fake-joi
Create a Joi schema as string
Usage
const Joi = const schema = Joiobject someKey: Joi console // returns schema as string// Joi.object({"someKey": Joi.number().integer().required()})
Create a Joi schema as string
const Joi = const schema = Joiobject someKey: Joi console // returns schema as string// Joi.object({"someKey": Joi.number().integer().required()})
npm i fake-joi
0
0.1.0
MPL-2.0
1.99 kB
4