Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

binary-com-longcode

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

binary-com-longcode

Convert Binary.com's shorcode to longcode

  • 0.0.11
  • Source
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

shortcode_processing Build Status

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

Keywords

FAQs

Package last updated on 17 May 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc