0.2.1 • Published 2 years ago

currency-symbol-generator v0.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

currency-symbols :money_with_wings:

Get currency symbol by currency code eg: USD -> $

References

ISO 4217 - Currency Codes

Installation

$ npm i currency-symbol-generator

#or

$ yarn add currency-symbol-generator

Usage

import {getCurrencySymbol} from "currency-symbol-generator";

let dollarSymbol = getCurrencySymbol("USD");

console.log("dollarSymbol");

#Output
#$