Skip to content

Commit

Permalink
Fix name from toCamel to snakeToCamle in Usage of Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
drake.aren committed Aug 21, 2020
1 parent 3e57c14 commit b494876
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ yarn add oh-my-cases
## Usage

```js
import { toCamel } from 'oh-my-cases'
import { snakeToCamel } from 'oh-my-cases'

toCamel('snake_case') // => 'snakeCase'
toCamle({'snake_case': 11}) // => {'snakeCase': 11}
snakeToCamel('snake_case') // => 'snakeCase'
snakeToCamel({'snake_case': 11}) // => {'snakeCase': 11}
```

## How to contribute
Expand Down

0 comments on commit b494876

Please sign in to comment.