Polyfill for intl enumeration
npm install polyfill-intl-enumeration
Polyfill for Intl.supportedValuesOf
Polyfill for Intl.supportedValuesOf.
❤️ Awesome Features:
- Simple and clean way to use Intl.supportedValuesOf in Node.js and Browser. 🔥
- Zero production dependencies 🎃
- Easy to use and great test coverage ✅
Install
``bash`
npm install polyfill-intl-enumeration
Use
`js
require('polyfill-intl-enumeration')
console.log(Intl.supportedValuesOf('unit'))
// 'acre', 'bit', 'byte', 'celsius'...
`
`html`
Please read [CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
As well the project has an autogenerated CHANGELOG.md
- Ulises Gascón - *Initial work- - @ulisesGascon
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details
- Thanks to @mathiasbynens for the great documentation about globalThis` hack in Node.js. See
- Thanks to @ryzokuken and @romulocintra for the guidance on the specs