checkok-required
Required validator for checkok
Last updated 2 years ago by forsigner .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install checkok-required 
SYNC missed versions from official npm registry.

checkok-required

Installation

yarn add checkok checkok-required

Usage

import { check } from 'checkok'
import required from 'checkok-required'

const result = check('').pipe(required('can not empty'))

console.log(result) // { ok: false, message: 'can not empty' }

License

MIT License

Current Tags

  • 1.0.0                                ...           latest (2 years ago)

6 Versions

  • 1.0.0                                ...           2 years ago
  • 0.0.5                                ...           2 years ago
  • 0.0.4                                ...           2 years ago
  • 0.0.3                                ...           2 years ago
  • 0.0.2                                ...           2 years ago
  • 0.0.1                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (9)

Copyright 2014 - 2017 © taobao.org |