Skip to content
This repository was archived by the owner on Aug 16, 2025. It is now read-only.

elliotblackburn/vatcode-validator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vatcode-validator

This VAT Code Validator checks the syntax of a VAT code. It doesn't make any API calls to check the validity of the code itself, so the package can be useful for on the fly checking of valid VAT code entry on forms etc.

Project status

Caution

This project has been unmaintained since 2018. You should not use it, and should migrate away from it.

I made this module back in ~2015 to solve a problem my company had at the time. It served it's purpose and still works reasonably well. But I do not use nodejs anymore, and have no intention of publishing any updates in the future.

To prevent supply-chain attacks I will not hand this project over to anyone else.

If you wish to continue the project, please fork it while respecting the copyright notice and license.

Installation

npm install vatcode-validator --save

Example use

var VATValidator = require('vatcode-validator');

var vatCode = '';

if(VATValidator.isValid(vatCode)) {
  console.log('Code is valid');
} else {
  //not valid :(
}

About

Node VAT code syntax checker

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •