crypti / cryptocurrencies

📋 Get a list of all the cryptocurrency symbols and names.
MIT License
260 stars 112 forks source link
cryptocurrencies cryptocurrency cryptocurrency-list cryptocurrency-symbols json

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

:bulb: 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