List of currencies and get random currency
$ yarn add currenci
const currenci = require('currenci')
currenci.random()
// => { "name": "Canadian Dollar", "symbol": "$", "code": "CAD" }
currenci.list
// => [ { "name": "US Dollar", "symbol": "$", "code": "USD" }, ...]
Returns an array
Returns a random currency
- transform-currency — Transform currency code to symbol
- has-currency-code — Check if given string has currency code
- find-currency-code — Find currency code from given string
MIT © Bu Kinoshita