Releases: JoschuaSchneider/mehrzahl
Releases · JoschuaSchneider/mehrzahl
1.1.0 - Reversed usage via `zm`
- Added
zm
function that gets curried with the template string and can then be called with the amount (Thanks @menghif!)
1.0.1 - Treat 0 as plural
- merged #1 by @geisterfurz007 to correctly treat 0 as plural
First major rlease 🎉
- Add documentation
- Improved performance
- about 10.000.000 ops/sec with only the
{|}
syntax - about 6.000.000 ops/sec with
{|}
syntax, tuples and functions
- about 10.000.000 ops/sec with only the
Add syntax to replace singular/plural strings without tuples or functions
Add {<singular>|<plural>}
syntax.