1.0.2 • Published 2 years ago

ic-validator v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

IČ validator

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