Package Exports
- @formatjs/intl-pluralrules
- @formatjs/intl-pluralrules/dist/locale-data/de
- @formatjs/intl-pluralrules/dist/locale-data/en
- @formatjs/intl-pluralrules/dist/locale-data/en.js
- @formatjs/intl-pluralrules/dist/locale-data/es
- @formatjs/intl-pluralrules/dist/locale-data/fr
- @formatjs/intl-pluralrules/dist/locale-data/ja.js
- @formatjs/intl-pluralrules/dist/locale-data/sr
- @formatjs/intl-pluralrules/polyfill
- @formatjs/intl-pluralrules/polyfill-locales
- @formatjs/intl-pluralrules/polyfill.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@formatjs/intl-pluralrules) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
intl-pluralrules
A spec-compliant polyfill/ponyfill for Intl.PluralRules
fully tested by the official ECMAScript Conformance test suite
Installation
npm install @formatjs/intl-pluralrules
Usage
import '@formatjs/intl-pluralrules/polyfill';
import '@formatjs/intl-pluralrules/dist/locale-data/en'; // locale-data for en
TO polyfill w/ ALL locales:
import '@formatjs/intl-pluralrules/polyfill-locales';