A javascript library to validate and recognize Shetab card numbers
Credit & Debit Card (Shetab) validation and Recognition in javascript.
To use iran shetab you just need to:
npm install iran-shetab --save
How to use it:
var Shetab = require("iran-shetab");
console.log(Shetab.isValid("6221-0611-****-****"));
console.log(Shetab.isValid("62210611********"));
console.log(Shetab.isValid("62210611********"));
Drop an email to r.ghorbani.f@gmail.com
Open issues
Submit PRs.