bip
Version:
Get balance of bip card (Chile)
45 lines (33 loc) • 1.27 kB
Markdown
# bip
[](https://www.npmjs.com/package/bip)
[](https://www.npmjs.com/package/bip)
[](https://travis-ci.org/lgaticaq/bip)
[](https://coveralls.io/github/lgaticaq/bip?branch=master)
[](https://codeclimate.com/github/lgaticaq/bip)
[](https://david-dm.org/lgaticaq/bip#info=devDependencies)
> Get balance of bip card (Chile)
## Installation
```bash
npm i -S bip
```
## Use
[Try on RunKit](https://runkit.com/npm/bip)
```js
const bip = require('bip');
const number = 11111111;
bip(number)
.then(console.log)
.catch(console.error);
```
Result:
```js
{
number: XXXXX, // a number
balance: XXXXX, // a number
date: XXXXX, // a date
message: XXXXX, // a string
valid: XXXXX // a boolean
}
```
## Licencia
[MIT](https://tldrlegal.com/license/mit-license)