Easily obtain a currency symbol by currency code, country name, or currency name
npm i symbols-of-currency
import { getSymbolByCode, getSymbolByCountry, getSymbolByCurrencyName } from 'symbols-of-currency';
<div class="app">
<div>
{getSymbolByCode('EUR')}
</div>
<div>
{getSymbolByCountry('Russia')}
</div>
<div>
{getSymbolByCurrencyName('East Caribbean dollar')}
</div>
</div>
<script src="https://cdn.jsdelivr.net/gh/enmaboya/symbols-of-currency@latest/dist/symbols-of-currency.js"></script>
<script>
console.log(soc.getSymbolByCode('usd'))
</script>