Skip to content

Latest commit

 

History

History
44 lines (33 loc) · 1.24 KB

README.md

File metadata and controls

44 lines (33 loc) · 1.24 KB

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