Tower String Case
Convert strings to camelCase
, snake_case
, CONSTANT_CASE
, and other useful code-cases. < 0.4kb minified and gzipped.
Install
node:
npm install tower-strcase
browser:
component install tower/strcase
Usage
var strcase =cases ='fooBar''foo_bar''FOO_BAR''FooBar''Foo.Bar''Foo Bar''foo-bar''foo/bar''foo.bar'cases;
Test
mocha
License
MIT