1.0.1 • Published 5 years ago
checkok-min v1.0.1
checkok-min
Installation
yarn add checkok checkok-min
Usage
import { check } from 'checkok'
import min from 'checkok-min'
const result = check('foobar').pipe(min(3, 'some msg'))
console.log(result) // { ok: true }