@fippli/snake-case-to-camel-case
v1.0.1
Published
Transform a string "ACTION_TYPE" to "actionType"
Downloads
3
Readme
snake_case -> camelCase
Transform "some_string"
into `"someString"``
Installation
npm install @fippli/snake-case-to-camel-case
Basic usage
import snakeCaseToCamelCase from '@fippli/snake-case-to-camel-case';
const MY_STRING = 'MY_STRING';
const myString = snakeCaseToCamelCase(MY_STRING);
console.log(myString); // => "myString"