Easily convert to and from camelCase and under_score notation.
- Author: Randall Degges
- Email: firstname.lastname@example.org
- Twitter: @rdegges
- Site: http://www.rdegges.com
- Status: production ready
camels using npm, simply run:
$ npm install camels
In the root of your project directory.
Once you have
camels installed, you can use it to easily convert function names
to and from camelCase.
camels adds several string methods which you can call
require'ing this module:
var camels = ;console; // hi_thereconsole; // hi_thereconsole; // hi_there_dudeconsole; // hiThereconsole; // hiThereDude
NOTE: This library assumes that the string you're calling the desired method
on is 'properly' formed. For instance, if you run
library presumes that your string,
s, is already underscored.
- First release!