Skip to content

Latest commit

 

History

History
21 lines (19 loc) · 376 Bytes

README.md

File metadata and controls

21 lines (19 loc) · 376 Bytes

binlist

Node.js wrapper for http://www.binlist.net

Usage

var binlist = require('binlist');
binlist('XXXXXX').then(function(res){
  console.log(res);
  /*
  { bin: 'XXXXXX',
    brand: 'VISA',
    issuer: 'NATIONAL WESTMINSTER BANK PLC',
    type: 'DEBIT',
    country_code: 'GB',
    is_prepaid: false }
  */
}, function(err){
  console.log(err);
});