node.inflection
node.inflection copied to clipboard
A port of inflection-js to node.js module
Hey! I just found `inflection.camelize('/')` return `::` I consider it a bug since camelize should only care about underscore chars. Once confirmed by an author that it's a bug, I'm...
Hey there! I just found `inflection.underscore('_')` returns `''` (an empty string). I bet it's a bug since this method should add, not remove, underscores. Once confirmed by the author, I'm...
The plural of "nucleus" should be "nuclei". The rare plural form "nucleuses" should also be recognized to be singularized correctly. Current behavior: ```javascript inflection.singularize("nucleus") // "nucleu" (wrong) inflection.singularize("nucleuses") // "nucleuse"...
Correct the spelling of "seperate" to "separate" wherever found. In particular, in Readme.md. (Mnemonic: there is "a rat" in separate.)
Currently, `inflection.singularize('focus')` == "focu". Focus should remain singular, and "foci" and "focuses" should probably be added as exceptions for the plural.