几个不错的json schema 校验
日常开发中数据校验是很重要的,因为日常大家使用的json偏多
以下整理了几个不错的node json 数据校验工具,可以方便使用
参考资料
https://github.com/jquense/yup
https://github.com/colinhacks/zod
https://github.com/sideway/joi
https://www.npmjs.com/package/djv
https://github.com/korzio/djv#readme
https://www.npmjs.com/package/ajv
https://github.com/ajv-validator/ajv
https://github.com/epoberezkin/json-schema-traverse#readme
https://github.com/zaggino/z-schema
https://github.com/kriszyp/json-schema#readme
https://github.com/tdegrunt/jsonschema#readme