typographic-currency

Use the correct symbol of currency

Usage no npm install needed!

<script type="module">
  import typographicCurrency from 'https://cdn.skypack.dev/typographic-currency';
</script>

README

typographic-currency

NPM version Build Status Coveralls Status Dependency Status

Use the correct symbol of currency

Install

npm install --save typographic-currency

Usage

Use typographic-currency to replace name of currency with symbols.

import currency from 'typographic-currency';

currency('Tickets cost 20 usd'); // Tickets cost 20 $

currency('Our house valued at one million KZT'); // Our house valued at one million ₸

License

MIT © talgautb