fernando-bosso / snakelize

MIT License
1 stars 1 forks source link

Snakelize

Maintainability

This lib was developed to convert javascript object keys from camelcase to snake case and vice-versa.

Example


import { snakefy, camelize } from 'snakelize'

let snakefiedObject = {
    one_key: 1,
    two_key: {
        three_key: {
            four_key: 4,
            five_key: 5
        }
    }
}

camelizedObject = camelize(snakefiedObject)