@hadeeb/gstin-validator
v0.0.2
Published
Module to validate GSTIN
Downloads
42
Readme
GSTIN Validator
- Validates GSTIN number for length (15 digits), format (State code, PAN, Entity Number, Z, Checksum) and checksum as per the algorithm published at GSTN portal
Installation
npm install @hadeeb/gstin-validator
import GstinValidator from "@hadeeb/gstin-validator";
or
<script src="https://unpkg.com/@hadeeb/[email protected]/dist/gstin-validator.min.js"></script>
The module can be accessed as
var GstinValidator = window.GstinValidator.default;