Skip to content

srubio131/replace-object-keys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

replace-object-keys

Replace object keys to camel case from snake case

Usage

import { normalizeObject } from 'replace-object-keys'

const obj = { object_one: { hello_one: 1 } }
console.log(normalizeObject(obj))

Output

{ objectOne: { helloOne: 1 } }

Example

https://stackblitz.com/edit/replace-object-keys

About

Replace object keys to camel case from snake case

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages