joi

编程之家收集整理的这个编程导航主要介绍了joi编程之家,现在分享给大家,也给大家做个参考。

joi

joi 介绍

Imagine you run facebook and you want visitors to sign up on the website with real names and not something likel337_p@nda in the first name field. How would you define the limitations of what can be inputted and validate it against the set rules?

This is joi,joi allows you to create blueprints or schemas for JavaScript objects (an object that stores @R_585_4045@ion) to ensure validation of key @R_585_4045@ion.

网站地址:https://github.com/hapijs/joi/blob/v13.3.0/API.md

GitHub:https://github.com/hapijs/joi

网站描述:数据校验模块,高度封装常用的校验功能

joi官方网站

官方网站:https://github.com/hapijs/joi/blob/v13.3.0/API.md

如果觉得编程之家网站内容还不错,欢迎将编程之家网站推荐给程序员好友。

相关文章

johnny-five,Bocoup 的 JavaScript 机器和物联网编程框架
WePY,一款让小程序支持组件化开发的框架
Deep playground,神经网络的交互式可视化,使用d3.js和TypeS...
ShareDB,用于并发编辑系统的前端数据库
RxJS,RxJS 是使用 Observables 的响应式编程的库
egg-react-ssr,最小而美的Egg + React + SSR 服务端渲染应用...