currency-data-by-locale
v1.0.2
Published
retrieve currency data by locale
Downloads
4
Maintainers
Readme
currency data by locale
Returns currency and seperator when language and region code are passed
import getLocationData from 'currency-data-by-locale';
const currency = getLocationData('en-US').currency;
const seperator = getLocationData('en-US').separator;