@omnicrypt/currency-symbols
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

@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-symbols

Import 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

License

MIT

Package Sidebar

Install

npm i @omnicrypt/currency-symbols

Weekly Downloads

0

Version

0.0.4

License

MIT

Unpacked Size

151 kB

Total Files

34

Last publish

Collaborators

  • sno2