Wondering what’s next for npm?Check out our public roadmap! »

italian-vat-betterTypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

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

Install

npm i italian-vat-better

DownloadsWeekly Downloads

32

Version

1.0.1

License

MIT

Unpacked Size

4.84 kB

Total Files

6

Last publish

Collaborators

  • avatar