Polyfill for Intl.supportedValuesOf
Polyfill for Intl.supportedValuesOf.
❤️ Awesome Features:
- Simple and clean way to use
Intl.supportedValuesOfin Node.js and Browser. 🔥 - Zero production dependencies 🎃
- Easy to use and great test coverage ✅
Install
npm install polyfill-intl-enumerationUse
require('polyfill-intl-enumeration')
console.log(Intl.supportedValuesOf('unit'))
// ['acre', 'bit', 'byte', 'celsius'...<script src="https://unpkg.com/polyfill-intl-enumeration@1.0.0/dist/polifyll-intl-enumeration.min.js"></script>
<script>
console.log(Intl.supportedValuesOf('unit'))
// ['acre', 'bit', 'byte', 'celsius'...
</script>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
globalThishack in Node.js. See - Thanks to @ryzokuken and @romulocintra for the guidance on the specs