util-result
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Checkok

npm Build Status Coverage Status npm GitHub license

a lib

Installation

yarn add checkok

Usage

import { check } from 'checkok'
import { string, required, email } from 'checkok/rules'

const result = check('foo').pipe(
  string(),
  required(),
  email(),
)

console.log(result) // { ok: true }

License

MIT License

Readme

Keywords

none

Package Sidebar

Install

npm i util-result

Weekly Downloads

4

Version

1.0.0

License

MIT

Unpacked Size

4.38 kB

Total Files

9

Last publish

Collaborators

  • forsigner