pksunkara / inflect

custom inflections for nodejs
MIT License
229 stars 18 forks source link

Skip articles and prepositions in titleize() #25

Closed tawdle closed 8 years ago

tawdle commented 8 years ago

Defines a dictionary of articles and prepositions, and leaves them in their lowercase form when calling titleize().

This leads to more typical titleizations.

pksunkara commented 8 years ago

@tawdle I am sorry but I can't accept this. A lot of people are using this library and this will be a breaking change for them. I would request you to maintain your own fork with this change instead if you want to use this.

Thanks.

tawdle commented 8 years ago

@pksunkara Fair enough. What if the new behavior were enabled by an optional flag, with the default preserving existing behavior?

pksunkara commented 8 years ago

I can merge that :)