1.0.0 • Published 5 years ago

gstin-validate v1.0.0

Weekly downloads
1
License
ISC
Repository
github
Last release
5 years ago

gstin-validate

  • Validates GSTIN number for length (15 digits), format (State code, PAN, Entity Number, Z, Checksum) and checksum as per the algorithm

build npm

Installation

npm install gstin-validate

Use

var gstin_validator = require('gstin-validate');
gstin_validator.validate('12AAACI1681G1Z0');
  gstin_validator.validate('47AAACI1681G1Z0');
  gstin_validator.validate('12AAACI1681G1Z0');

Test