crypti / cryptocurrencies

πŸ“‹ Get a list of all the cryptocurrency symbols and names.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cryptocurrencies CI

A JSON list of all the cryptocurrency symbols and names

The currency list is a JSON file that can be used wherever.

Install

$ npm install --save cryptocurrencies

Usage

const cryptocurrencies, {symbols} = require('cryptocurrencies');

cryptocurrencies.BTC;
//=> 'Bitcoin'

console.log(symbols);
//=> ['42', ... 'BTC', 'ETH', 'LTC', ...]

Cryptocurrencies

There are currently 12242 cryptocurrencies represented*:

* Last updated: Mon, 22 Apr 2024 16:18:05 GMT

Building

The JSON list, the currency icons, and parts of this README file are auto-generated from the coin list made available by the cryptocompare coinlist API, and can be updated automatically by running:

$ npm run build

πŸ’‘ Note that this build routine synchronously downloads the currency icons and saves them to the images directory. This means that the build routine takes a few minutes, since it has to process thousands of images.

License

MIT Β© Crypti Team

About

πŸ“‹ Get a list of all the cryptocurrency symbols and names.

License:MIT License


Languages

Language:JavaScript 100.0%