Get balance of bip card (Chile)
npm i -S bip
const bip = require('bip');
const number = 11111111;
bip(number)
.then(console.log)
.catch(console.error);
Result:
{
number: XXXXX, // a number
balance: XXXXX, // a number
date: XXXXX, // a date
message: XXXXX, // a string
valid: XXXXX // a boolean
}