3.0.1 • Published 7 years ago
string-casing v3.0.1
String casing
Utility functions for dealing with common string casing needs.
Installation
npm install --save string-casingAPI
camelCase(str)
param: {string} str - A string that is currently snake cased (e.g. hello_world).
returns {string} - A camel cased string (e.g. helloWorld).
snakeCase(str)
param: {string} str - A string that is currently camel cased (e.g. helloWorld).
returns {string} - A snake cased string (e.g. hello_world).