1.1.3 • Published 6 years ago

cryptobase v1.1.3

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

cryptobase

npm standard

CryptoBase NPM Module

Credit: Original list from https://github.com/crypti/cryptocurrencies

Install

npm install --save cryptobase

Usage

Methods

codes()

Get a key / value pairs of code and name of all cryptocurrencies.

const cb = require('cryptobase')

// Basic Usage:
cb.codes.BTC
// 'Bitcoin'

cryptos

Returns an object / hashmap of all cryptocurrencies

const cc = require('cryptobase')

cb.cryptos
// { 'BTC' => 'Bitcoin', ...}

cb.cryptos['BTC'];
// 'Bitcoin'

License

MIT