Releases: sumup-oss/intl-js
Releases · sumup-oss/intl-js
v1.2.0
v1.1.3
v1.1.2
v1.1.1
v1.1.0
v1.0.3
v1.0.2
v1.0.1
v1.0.0
Initial Release
Format 🔢 numbers and 💱 currency values for any locale with the ECMAScript Internationalization API.
Installation
@sumup/intl
needs to be installed as a dependency via the Yarn or npm package managers. Depending on your preference, run one of the following:
# With Yarn
$ yarn add @sumup/intl
# With npm
$ npm install @sumup/intl
@sumup/intl
wraps the ECMAScript Internationalization API which is supported by all modern browsers. If you need to support older browsers, you need to include a polyfill for the Intl.NumberFormat
API.
Node supports the Intl
API since v8, however, it includes only the English localisations up to v12. Node v13 and above support all locales. If you're unable to use Node v13+, you can either include a polyfill for the Intl.NumberFormat
API or use a custom Node build.