1.0.3 • Published 2 years ago
jnltc v1.0.3
Locale to Currency converter
Convert navigator.language
to currency code. en-US
-> USD
npm i jnltc
const jnltc = require('jnltc')
console.log(jnltc.langToCurr('en-US'))
// { code: 'USD', name: 'US Dollar', locale: 'en-US' }