https://github.com/pthm/binlist
Node.js wrapper for binlist.net
https://github.com/pthm/binlist
Last synced: 8 months ago
JSON representation
Node.js wrapper for binlist.net
- Host: GitHub
- URL: https://github.com/pthm/binlist
- Owner: pthm
- License: mit
- Created: 2016-06-03T13:45:19.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2017-08-14T08:44:40.000Z (almost 9 years ago)
- Last Synced: 2025-09-11T01:55:01.170Z (9 months ago)
- Language: JavaScript
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# binlist
Node.js wrapper for http://www.binlist.net
## Usage
```javascript
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);
});
```