A simple package to validate German personal TAX-ID
npm install simple-de-taxid-validatorCode of this validator is taken (with small changes like optimization or removing not needed elements) from THIS REPOSITORY. Super thank you guys, you did a great job.
``sh`
// with npm
npm i simple-de-taxid-validator
`sh`
// with yarn
yarn add simple-de-taxid-validator`Usage
ts
import { deTaxIdValidator } from 'simple-de-taxid-validator';
const { isValid } = deTaxIdValidator.validate(value);
const formattedTaxIdNumber = deTaxIdValidator.format(value);
``
This project is licensed under the terms of the
MIT license.