@omnicrypt/currency-symbols
v0.0.4
Published
A collection of the symbols for many different currencies.
Downloads
2
Maintainers
Readme
@omnicrypt/currency-symbols
A collection of the symbols for many different currencies.
Usage
Node
Add the library to your current package:
npm install @omnicrypt/currency-symbolsImport any of your needed members using require or regular import statements depending on your project configuration:
// CommonJS
const { Currency } = require("@omnicrypt/currency-symbols");
// ESM
import { Currency } from "@omnicrypt/currency-symbols";API
Currency
A list of both world currencies and cryptocurrencies. The properties of the object are the currency alias and the value is the currency's symbol.
Example
const btc = Currency.Bitcoin; // "BTC"WorldCurrency
// TODO
CryptoCurrency
// TODO
createCustomCurrency
// TODO
