currency-symbol-map
Advanced tools
Comparing version 4.0.0 to 4.0.1
@@ -46,2 +46,3 @@ module.exports = { | ||
'ETB': 'Br', | ||
'ETH': 'Ξ', | ||
'EUR': '€', | ||
@@ -88,2 +89,3 @@ 'FJD': '$', | ||
'LSL': 'M', | ||
'LTC': 'Ł', | ||
'LTL': 'Lt', | ||
@@ -90,0 +92,0 @@ 'LVL': 'Ls', |
{ | ||
"name": "currency-symbol-map", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "A function to lookup the currency symbol for a given currency code", | ||
@@ -5,0 +5,0 @@ "main": "currency-symbol-map.js", |
@@ -13,3 +13,8 @@ # currency-symbol-map | ||
```js | ||
// ES5 | ||
const getSymbolFromCurrency = require('currency-symbol-map') | ||
// ES6 | ||
import getSymbolFromCurrency from 'currency-symbol-map' | ||
getSymbolFromCurrency('GBP') //=> '£' | ||
@@ -23,3 +28,8 @@ getSymbolFromCurrency('EUR') //=> '€' | ||
```js | ||
const currencySymbolMap = require('currency-symbol-map/map') | ||
// ES5 | ||
const getSymbolFromCurrency = require('currency-symbol-map') | ||
// ES6 | ||
import getSymbolFromCurrency from 'currency-symbol-map' | ||
// => | ||
@@ -26,0 +36,0 @@ { |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
6824
200
58
0