binlist

1.2.0 • Public • Published

binlist

Node.js wrapper for Binlist by PAYOUT https://bins.payout.com

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);
});

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i binlist

    Weekly Downloads

    194

    Version

    1.2.0

    License

    MIT

    Last publish

    Collaborators

    • pthm