bs-intl
v1.1.0
Published
BuckleScript bindings to Intl
Maintainers
Readme
bs-intl
A port of the Intl utilities of JS to Reason.
Documentation
API docs are hosted at https://jimberlage.github.io/bs-intl/. Documentation comes with examples on how to use each function.
Installation
yarn add bs-intlIn your bsconfig.json file, add a reference to this library:
{
"bs-dependencies": ["bs-intl"]
}Status
The following pieces of the API are completed:
Intl.Collator
- [ ] Constructor
- [ ] supportedLocalesOf
- [ ] compare
- [ ] resolvedOptions
Intl.DateTimeFormat
- [x] Constructor
- [x] supportedLocalesOf
- [x] format
- [x] formatToParts
- [x] resolvedOptions
Intl.ListFormat
- [ ] Constructor
- [ ] supportedLocalesOf
- [ ] format
- [ ] formatToParts
- [ ] resolvedOptions
Intl.NumberFormat
- [x] Constructor
- [x] supportedLocalesOf
- [x] format
- [x] formatToParts
- [ ] resolvedOptions
Intl.PluralRules
- [x] Constructor
- [x] supportedLocalesOf
- [x] select
- [ ] resolvedOptions
Intl.RelativeTimeFormat
- [ ] Constructor
- [ ] supportedLocalesOf
- [ ] format
- [ ] formatToParts
- [ ] resolvedOptions

