Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 536 Bytes

README.md

File metadata and controls

29 lines (17 loc) · 536 Bytes

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 [email protected]

Open issues

Submit PRs.