1.0.1 • Published 5 years ago
checkok-url v1.0.1
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' }