An open API service indexing awesome lists of open source software.

https://github.com/codewell/snake-case-to-camel-case

Transform a string "ACTION_TYPE" to "actionType"
https://github.com/codewell/snake-case-to-camel-case

Last synced: 3 days ago
JSON representation

Transform a string "ACTION_TYPE" to "actionType"

Awesome Lists containing this project

README

          

# snake_case -> camelCase
Transform `"some_string"` into `"someString"`

## Installation
```javascript
npm install @codewell/snake-case-to-camel-case
```

## Basic usage
```JavaScript
import snakeCaseToCamelCase from '@codewell/snake-case-to-camel-case';

const some_string = 'some_string';

const someString = snakeCaseToCamelCase(some_string);

console.log(someString); // => "someString"
```