cryptobase
v1.1.3
Published
An updated list of all cryptocurrencies.
Downloads
3
Maintainers
Readme
cryptobase
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'