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

Latest commit

 

History

History
32 lines (20 loc) · 493 Bytes

README.md

File metadata and controls

32 lines (20 loc) · 493 Bytes

🇮🇹 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