Skip to content

Releases: JoschuaSchneider/mehrzahl

1.1.0 - Reversed usage via `zm`

11 Oct 06:55
696bf40
Compare
Choose a tag to compare
  • 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

28 Sep 11:11
47145a2
Compare
Choose a tag to compare
  • merged #1 by @geisterfurz007 to correctly treat 0 as plural

First major rlease 🎉

17 Sep 13:59
Compare
Choose a tag to compare
  • 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

Add syntax to replace singular/plural strings without tuples or functions

17 Sep 12:31
Compare
Choose a tag to compare