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"
- Host: GitHub
- URL: https://github.com/codewell/snake-case-to-camel-case
- Owner: codewell
- Created: 2019-08-28T06:52:56.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T02:06:42.000Z (over 3 years ago)
- Last Synced: 2025-10-22T01:55:09.779Z (8 months ago)
- Language: JavaScript
- Size: 529 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
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"
```