tuc

TUC Client for Node.js

Usage no npm install needed!

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

README

TUC

Bus

NPM

Installation

$ npm install tuc

Example

// require library
const Tuc = require('tuc');

// instance class
const tuc = new Tuc();

// set number
let number = '00758888';

// call method getBalance
tuc.getBalance(number, (balance) => {
  console.log(balance);
});

// call method getType
tuc.getType(number, (balance) => {
  console.log(balance);
});

Responses

30.00
Cuenta limitada (sin movil)

Contributors

This is a unoficial client. For more info visit https://mpeso.net/