Skip to content

rghorbani/iran-shetab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published