make-plural icon indicating copy to clipboard operation
make-plural copied to clipboard

Translates Unicode CLDR pluralization rules to executable JavaScript

Make-plural Monorepo

This is a monorepo providing the following npm packages:

  • make-plural-compiler - Translates Unicode CLDR pluralization rules to executable JavaScript
  • make-plural-cli - Command-line interface for the compiler
  • make-plural - Precompiled Unicode CLDR pluralization rules as JavaScript functions

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.