1.0.0 • Published 4 years ago
@ivanhanak_com/snake-case-to-camel-case v1.0.0
snake-case to camelCase
A simple javaScript library for converting strings from snake case to camel case.
Changelog
See the whole Changelog.
Install
Using npm:
npm install @ivanhanak_com/snake-case-to-camel-case
Using yarn:
yarn add @ivanhanak_com/snake-case-to-camel-case
Import
import {snakeCaseToCamelCase} from '@ivanhanak_com/snake-case-to-camel-case';
Usage
const myString = "text-transform";
const camelCase = snakeCaseToCamelCase(myString);
console.log(camelCase); // => prints "textTransform"
Browser support
IE10+