phone-email
v1.0.1
Published
Email address verification
Downloads
7
Readme
介绍
这是一个正则工具,适用于浏览器和 node 服务端
安装
npm i phone-email
api
commonjs 使用
node.js
let email = require('./index.js');
console.log(email.isEmail('[email protected]')) // true
JavaScript
<script src="index.js"></script> //导入链接
console.log(myis.isEmail('[email protected]'))//true