detect-card
0.1.2 • Public • Published detect-card
Detecting the card type by the card number.
Installation
npm install --save detect-card
Usage
var detectCard = require('detect-card');
var cardType = detectCard('3000 0000 0000 04');
console.log(cardType);
License
The MIT License (MIT)
Package Sidebar
Install
Weekly Downloads