Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

credimi/italianVatBetter

Repository files navigation

🇮🇹 Italian Vat Better 🇮🇹

A little utility to generate fake vat code and also to check if they are valid

Install

yarn add italian-vat-better

and then

import { fakeVat, verifyVat } from 'italian-vat-better'

Usage

Fake vat

fakeVat() // A random valid vat code

or

fakeVat('1111111111') // 11111111115

Verify Vat

verifyVat('09171640965') // true
verifyVat('11111111111') // false

About

Generate fake Italian vat and verify vats

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published