checkok-number
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

checkok-number

Installation

yarn add checkok checkok-number

Usage

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

const result = check('123').pipe(number('Should be a number'))

console.log(result) // { ok: false, message: 'Should be a number' }

License

MIT License

Readme

Keywords

none

Package Sidebar

Install

npm i checkok-number

Weekly Downloads

11

Version

1.0.0

License

MIT

Unpacked Size

4.59 kB

Total Files

9

Last publish

Collaborators

  • forsigner