bip

Get balance of bip card (Chile)

Usage no npm install needed!

<script type="module">
  import bip from 'https://cdn.skypack.dev/bip';
</script>

README

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