Skip to content

bukinoshita/transform-currency

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

transform-currency Build Status

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

License

MIT © Bu Kinoshita