Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 856 Bytes

README.md

File metadata and controls

34 lines (26 loc) · 856 Bytes

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