find-currency-code
Find currency code from given string
Install
$ yarn add find-currency-code
Usage
const findCurrencyCode = // => USD // => undefined
API
findCurrencyCode(input)
Returns a string
input
Type: string
Required
Related
- transform-currency — Transform currency code to symbol
- has-currency-code — Check if given string has currency code
- currenci — List of currencies and get random currency
License
MIT © Bu Kinoshita