/iran-shetab

Primary LanguageJavaScriptMIT LicenseMIT

iran-shetab

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

Usage

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********"));

Suggestions?

Drop an email to r.ghorbani.f@gmail.com

Open issues

Submit PRs.