An open API service indexing awesome lists of open source software.

https://github.com/eemeli/make-plural

Translates Unicode CLDR pluralization rules to executable JavaScript
https://github.com/eemeli/make-plural

Last synced: 6 months ago
JSON representation

Translates Unicode CLDR pluralization rules to executable JavaScript

Awesome Lists containing this project

README

          

# Make-plural Monorepo

This is a monorepo providing the following npm packages:

- [**`make-plural-compiler`**](packages/compiler) - Translates [Unicode CLDR] pluralization [rules] to executable JavaScript
- [**`make-plural-cli`**](packages/cli) - Command-line interface for the compiler
- [**`make-plural`**](packages/plurals) - Precompiled Unicode CLDR pluralization rules as JavaScript functions

[unicode cldr]: http://cldr.unicode.org/
[rules]: http://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html

## Developing

```
git clone https://github.com/eemeli/make-plural.git
cd make-plural
npm install
npm run build
```

Note that with the v5 release, the compiler and CLI were split from the canonical `make-plural` package.