node package manager
We need your input. Help make JavaScript better: Take the 2017 JavaScript Ecosystem survey »

legit-inflectors

inflectors

A collection of Rails like inflectors for Javascript Taken from Ryan Schuft @ http://code.google.com/p/inflection-js/ and put into a module for easy import.

Install

npm install legit-inflectors

Usage

import 'legit-inflectors'
 
"foo".titleize
-> Foo