https://github.com/lgaticaq/bip
Get balance of bip card (Chile)
https://github.com/lgaticaq/bip
bip chile metro transantiago
Last synced: 4 days ago
JSON representation
Get balance of bip card (Chile)
- Host: GitHub
- URL: https://github.com/lgaticaq/bip
- Owner: lgaticaq
- License: mit
- Created: 2016-01-03T22:59:14.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-11-09T19:05:39.000Z (8 months ago)
- Last Synced: 2024-11-09T20:17:59.343Z (8 months ago)
- Topics: bip, chile, metro, transantiago
- Language: JavaScript
- Size: 563 KB
- Stars: 23
- Watchers: 3
- Forks: 2
- Open Issues: 26
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# 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)