Billy Inflector
Pluralize, singularize, capitalize, classify, and so on..
Primarily extracted from Billy Data.
Usage
Node JS
var inflector = require('billy-inflector');
console.log(inflector.pluralize('computer'));
API
Pluralize
Pluralize a string based on added rules and common patterns.
Example
inflector.pluralize('entry');
Singularize
Singularize a string based on added rules and common patterns.
Example
inflector.singularize('fixes');
Classify
Classify a string.
Example
inflector.classify('accessLevel');
Capitalize
Capitalize a string.
Example
inflector.capitalize('watch');