npm.io
1.0.2 • Published 3 years ago

ic-validator

Licence
MIT
Version
1.0.2
Deps
0
Size
4 kB
Vulns
0
Weekly
0

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

Keywords