binary-com-longcode
v0.0.15
Published
Convert Binary.com's shorcode to longcode
Readme
shortcode_processing 
This project is used for converting Binary.com provided short-code to long-code.
Usage:
If you have npm installed, use:
$ npm install binary-com-longcode --saveFor yarn, use:
$ yarn add binary-com-longcodeIn code:
import {Longcode} from 'binary-com-longcode';
const longcodeGenerator = new Longcode(active_symbols, language, currency);
console.log(longcodeGenerator.get('some_short_code'));
Or:
var longcode = require('binary-com-longcode').Longcode;
var longcodeGenerator = new Longcode(active_symbols, language, currency);
console.log(longcodeGenerator.get('some_short_code'));Note: For successful release update the
versionin package.json
