talgautb / typographic-currency

Use the correct symbol of currency

Repository from Github https://github.comtalgautb/typographic-currencyRepository from Github https://github.comtalgautb/typographic-currency

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

About

Use the correct symbol of currency


Languages

Language:JavaScript 100.0%