ic-validator
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

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

Package Sidebar

Install

npm i ic-validator

Weekly Downloads

4

Version

1.0.2

License

MIT

Unpacked Size

3.89 kB

Total Files

5

Last publish

Collaborators

  • tomashanzelka