Skip to content

Simple Typescript validator for Czech business identification number (IČ)

License

Notifications You must be signed in to change notification settings

hanzelkatomas/ic-validator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IČ validator

downlaods version NPM downloads License

Simple Typescript/Javascript validator for Czech business identification number (IČ)

Install

NPM
npm i ic-validator

Yarn
yarn add ic-validator

Usage

import isValid from "ic-validator";

// Pass string value of IČ
const result = isValid('82276366') // res => true

// Or pass number value
const result1 = isValid(82276366) // res => true

Contributing

Feel free to contribute on improvements

About

Simple Typescript validator for Czech business identification number (IČ)

Resources

License

Stars

Watchers

Forks

Packages

No packages published