tuc-promise

0.3.0 • Public • Published

tuc-promise

Wrapper for tuc that returns a promise

XO code style

Install

$ npm install --save tuc-promise

Usage

const tuc = require('tuc-promise');
 
tuc.getBalance('01358336')
    .then((balance) => {
        console.log(balance);
    })
    .catch((err) => {
        console.log('err: ', err);
    });

License

MIT © Hosmel Quintana

Package Sidebar

Install

npm i tuc-promise

Weekly Downloads

6

Version

0.3.0

License

MIT

Last publish

Collaborators

  • hosmelq