0.0.2 • Published 7 years ago
transform-currency v0.0.2
transform-currency
Transform currency code to symbol
Install
$ npm install --save transform-currency
Usage
const transformCurrency = require('transform-currency')
transformCurrency(`I'm selling my shoes for USD25`)
// => I'm selling my shoes for $25
API
transformCurrency(input)
Returns a promise
input
Type: string
Required
Related
- find-currency-code — Find currency code from given string
- has-currency-code — Check if given string has currency code
- currenci — List of currencies and get random currency
License
MIT © Bu Kinoshita