0.0.15 • Published 7 years ago
binary-com-longcode v0.0.15
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 --save
For yarn
, use:
$ yarn add binary-com-longcode
In 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
version
in package.json