1.0.4 • Published 3 years ago

@rothzerg/validator v1.0.4

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

@rothzerg/validator

npm (scoped) npm bundle size (minified)

Install

$ npm install @rothzerg/validator

Validators

isEmail(value:string)

import { isEmail } from '@rothzerg/validator'

isEmail('test@test.com')
=> true

isEmail('test')
=> false

isEmpty(value:string)

import { isEmpty } from '@rothzerg/validator'

isEmpty('text')
=> false

isEmpty('')
=> true

isNotEmpty(value:string)

import { isNotEmpty } from '@rothzerg/validator'

isNotEmpty('text')
=> true

isNotEmpty('')
=> false
1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago