checkok-email
v1.0.1
Published
Email validator for checkok
Downloads
5
Readme
checkok-email
Installation
yarn add checkok checkok-email
Usage
import { check } from 'checkok'
import email from 'checkok-email'
const result = check('foo').pipe(email('should be a email'))
console.log(result) // { ok: false, message: 'should be a email' }