介绍 用于校验手机号和邮箱格式的包 安装 npm i checktoolreg 使用 const checkTool = require('checktoolreg'); console.log(checkTool(19213556367,'1313@qq.com'));