se-panfilov / jsvat

Check the validity of the format of an EU VAT number
http://se-panfilov.github.io/jsvat
MIT License
131 stars 34 forks source link

Add option to strict VAT ID validation check #133

Open zurabarata opened 1 year ago

zurabarata commented 1 year ago

add option to do strict VAT validation check:

fixes issue Nr. 123

zurabarata commented 1 year ago

hey @se-panfilov, it would be great if you find some time to review this one ☝️

mattickx commented 1 year ago

Since this repo seemed so abandoned I've created a fork on: https://github.com/mathieumagalhaes/jsvat-next

I like this change, but I was wondering if it would be possible to create an 'options' objects to pass, instead of adding variables. Which would make it more extendible in the future. Feel free to add the changes to the forked repo. Thank you in advance!