regexp2022

1.2.0 • Public • Published

介绍

这是一个正则检验工具,可适用于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

/regexp2022/

    Package Sidebar

    Install

    npm i regexp2022

    Weekly Downloads

    0

    Version

    1.2.0

    License

    ISC

    Unpacked Size

    1.21 kB

    Total Files

    3

    Last publish

    Collaborators

    • huangweihao