Skip to content
Use the correct symbol of currency
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.babelrc
.editorconfig
.gitignore
.npmignore
.travis.yml
README.md
index.js
package.json
test.js

README.md

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

You can’t perform that action at this time.