currency-symbol-generator
v0.2.1
Published
A minimal package for getting symbol of a currency using the country code.
Downloads
108
Maintainers
Readme
currency-symbols :money_with_wings:
Get currency symbol by currency code eg: USD -> $
References
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
#$