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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.04latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.04
0.0.30
0.0.20

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