Package Exports
- string-casing
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (string-casing) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
String casing
Utility functions for dealing with common string casing needs.
Installation
npm install --save string-casing
API
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
).