Skip to content

lgaticaq/bip

Repository files navigation

bip

npm version npm downloads Build Status Coverage Status Code Climate devDependency Status

Get balance of bip card (Chile)

Installation

npm i -S bip

Use

Try on RunKit

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
}

Licencia

MIT