byteclubfr / js-hal

JavaScript implementation of HAL format
MIT License
36 stars 16 forks source link

Naive pluralization #3

Open vbardales opened 11 years ago

vbardales commented 11 years ago

I know that pluralization can be disabled, but instead of doing naive pluralization, I found an interesting module which can help you to less naively pluralize : https://github.com/pksunkara/inflect

naholyr commented 7 years ago

Yeah, well, it may have been three years :') but thanks for the info, alas it's quite a big dependency for the client. I may extract the pluralization parts from this module, as he does it well, but won't include it as-is.