Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

binlist

pthm931MIT1.2.0

Node.js wrapper for BIN List by PAYOUT

bin, binlist, payout, bins, lookup

readme

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