hoafngsown-binance-icons
v1.5.2
Published
The Crypto/currency icons listed on Binance exchange
Maintainers
Readme
◆ TRADEXAI BINANCE ICONS
The Crypto/currency icons listed on Binance exchange.
Table of Contents
Installation
Package
npm install tradexai-binance-iconsContent Delivery Network (CDN)
https://cdn.jsdelivr.net/gh/vadimmalykhin/binance-icons/manifest.jsonhttps://cdn.jsdelivr.net/gh/vadimmalykhin/binance-icons/crypto/btc.svg
https://cdn.jsdelivr.net/gh/vadimmalykhin/binance-icons/crypto/eth.svg
https://cdn.jsdelivr.net/gh/vadimmalykhin/binance-icons/crypto/bnb.svg
...Zip Archive
https://github.com/VadimMalykhin/binance-icons/archive/refs/heads/main.zipUsage
Node.js
JavaScript
const { binanceCryptoIcons, binanceEtfIcons, binanceCurrencyIcons } = require('tradexai-binance-icons')
// Check if icon exists
const hasBtc = binanceCryptoIcons.has('btc')
// Get icon data
const btcIcon = binanceCryptoIcons.get('btc')
console.log(btcIcon.name) // Bitcoin
console.log(btcIcon.symbol) // btc
console.log(btcIcon.svg) // SVG string content
// Get all available icon symbols
const allCryptoSymbols = binanceCryptoIcons.getAllSymbols()TypeScript
import { binanceCryptoIcons, binanceEtfIcons, binanceCurrencyIcons } from 'tradexai-binance-icons'
// Check if icon exists
const hasBtc = binanceCryptoIcons.has('btc')
// Get icon data
const btcIcon = binanceCryptoIcons.get('btc')
console.log(btcIcon?.name) // Bitcoin
console.log(btcIcon?.symbol) // btc
console.log(btcIcon?.svg) // SVG string content
// Get all available icon symbols
const allCryptoSymbols = binanceCryptoIcons.getAllSymbols()Zip Archive
Use the manifest.json file to resolve all available icons.
Live demo
Resources
Contributing
Contributions are more than welcome, if you are interested please take a look to the Contributing Guidelines.
Disclaimer
All trademarks, logos and brand names are the property of their respective owners.
