1.2.0 • Published 2 years ago
regexp2022 v1.2.0
介绍
这是一个正则检验工具,可适用于nodejs服务端和浏览器
如何安装npm包
npm init regexp2022
API 教程
nodejs使用
let regexp = require('regexp2022')
let res = regexp.phone('18888888888')
let res2 = regexp.email('6666666@qq.com')
console.log(res); //true
console.log(res2); //true