polyfill-intl-enumeration

1.0.0 • Public • Published

polyfill-intl-enumeration

Polyfill for Intl.supportedValuesOf

npm version license downloads Known Vulnerabilities

About

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

Usage in node.js

Install

npm install polyfill-intl-enumeration

Use

require('polyfill-intl-enumeration')

console.log(Intl.supportedValuesOf('unit'))
// ['acre', 'bit', 'byte', 'celsius'...

Usage in Browser

<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>

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

As well the project has an autogenerated CHANGELOG.md

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

Package Sidebar

Install

npm i polyfill-intl-enumeration

Weekly Downloads

510

Version

1.0.0

License

MIT

Unpacked Size

42.6 kB

Total Files

5

Last publish

Collaborators

  • ulisesgascon