/snakeify-object

snake case the keys of a camel cased object

Primary LanguageJavaScriptMIT LicenseMIT

snakeify_object

A simple one method library for transforming an object with camel cased keys into a snake cased object. Actually, a new one. No mutation. :)

const snakeifyObject = require("snakeify-object");
   
let camelCased = snakeifyObject({pleaseNo: "camelCase"});