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
- Host: GitHub
- URL: https://github.com/eemeli/make-plural
- Owner: eemeli
- License: isc
- Created: 2014-09-21T17:08:37.000Z (over 11 years ago)
- Default Branch: main
- Last Pushed: 2024-06-18T02:11:52.000Z (almost 2 years ago)
- Last Synced: 2025-03-28T16:49:08.341Z (about 1 year ago)
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/make-plural
- Size: 1.51 MB
- Stars: 65
- Watchers: 4
- Forks: 14
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.