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

1.1.1 • Public • Published

checkok

npm Build Status Coverage Status npm GitHub license

Installation

yarn add checkok checkok-string checkok-required checkok-email

Usage

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

const result = check('test@test.com').pipe(
  string(),
  required('can not empty'),
  email('Email is invalid'),
)

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

License

MIT License

Readme

Keywords

none

Package Sidebar

Install

npm i checkok

Weekly Downloads

1

Version

1.1.1

License

MIT

Unpacked Size

5.9 kB

Total Files

9

Last publish

Collaborators

  • forsigner