{"maintainers":[{"name":"anonymous","email":"npm@nathan7.eu"}],"keywords":["snake-case","json","transform"],"dist-tags":{"latest":"0.1.0"},"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"description":"recursively transform key strings from camel-case to underscore-style","readme":"# snakeize \n\nrecursively transform key strings from camel-case to underscore-style.\nDerives directly from [substack](https://github.com/substack)'s [camelize](https://github.com/substack/camelize)\n\n[![build status](https://secure.travis-ci.org/nathan7/snakeize.png)](http://travis-ci.org/nathan7/snakeize)\n\n[![browser support](https://ci.testling.com/nathan7/snakeize.png)](http://ci.testling.com/nathan7/snakeize)\n\n# example\n\n``` js\nvar snakeize = require('snakeize');\nvar obj = {\n    feeFieFoe: 'fum',\n    beepBoop: [\n        { 'abcXyz': 'mno' },\n        { 'FooBar': 'baz' },\n        { 'CheeseID': 'wensleydale' }\n    ]\n};\nvar res = snakeize(obj);\nconsole.log(JSON.stringify(res, null, 2));\n```\n\noutput:\n\n```\n{\n  \"fee_fie_foe\": \"fum\",\n  \"beep_boop\": [\n    {\n      \"abc_xyz\": \"mno\"\n    },\n    {\n      \"foo_bar\": \"baz\"\n    },\n    {\n      \"cheese_id\": \"wensleydale\"\n    }\n  ]\n}\n```\n\n# methods\n\n``` js\nvar snakeize = require('snakeize')\n```\n\n## snakeize(obj)\n\nConvert the key strings in `obj` from camel-case to underscore-stlye recursively.\n\n# install\n\nWith [npm](https://npmjs.org) do:\n\n```\nnpm install snakeize\n```\n\nTo use in the browser, use [browserify](http://browserify.org) or [component](http://github.com/component):\n```\ncomponent install nathan7/snakeize\n```\n\n# license\n\nMIT\n","repository":{"type":"git","url":"git://github.com/nathan7/snakeize.git"},"users":{"esundahl":true},"bugs":{"url":"https://github.com/nathan7/snakeize/issues"},"license":"MIT","versions":{"0.0.0":{"name":"snakeize","version":"0.0.0","description":"recursively transform key strings from camel-case to underscore-style","main":"index.js","devDependencies":{"tap":"~0.4.0","tape":"~0.3.0"},"scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/nathan7/snakeize.git"},"homepage":"https://github.com/nathan7/snakeize","keywords":["camel-case","json","transform"],"testling":{"files":"test/*.js","browsers":{"iexplore":["6.0","7.0","8.0","9.0"],"chrome":["20.0"],"firefox":["10.0","15.0"],"safari":["5.1"],"opera":["12.0"]}},"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"license":"MIT","_id":"snakeize@0.0.0","dist":{"shasum":"a86054b027b0bb9996add0ff14c2792c64ce73a9","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/snakeize/-/snakeize-0.0.0.tgz","integrity":"sha512-rXk6LwfAJN+C5zA2WzQCr2gNtX4VPKN6seD2wEMaFQvbH8NI0Osibi8jfeWRFU1RrA6IOq/lDGTFxQuLUnmHKA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEqHLzMasmE58G69FA5c7r0qWXqADvAMslOin/axe9m1AiEAz3rg3eV2XmsWBV5THPk7QqhynDT1vDpukEcsttI8R2A="}]},"_from":".","_npmVersion":"1.2.15","_npmUser":{"name":"anonymous","email":"npm@nathan7.eu"},"maintainers":[{"name":"anonymous","email":"npm@nathan7.eu"}],"directories":{}},"0.0.1":{"name":"snakeize","version":"0.0.1","description":"recursively transform key strings from camel-case to underscore-style","main":"index.js","devDependencies":{"tap":"~0.4.0","tape":"~0.3.0"},"scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/nathan7/snakeize.git"},"homepage":"https://github.com/nathan7/snakeize","keywords":["camel-case","json","transform"],"testling":{"files":"test/*.js","browsers":{"iexplore":["6.0","7.0","8.0","9.0"],"chrome":["20.0"],"firefox":["10.0","15.0"],"safari":["5.1"],"opera":["12.0"]}},"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"license":"MIT","_id":"snakeize@0.0.1","dist":{"shasum":"e6121ec466de0460c96ae52d04cf35b4d4e2b6bf","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/snakeize/-/snakeize-0.0.1.tgz","integrity":"sha512-yTAPynW88zlwkhEb//Y17Z4Vau37r41k66ioUgiwxv+ERjS/Qyuj5po9v4EBJIBdjxfLVRup11isi7YRqowKVw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDxDwyKjZ5CoAqgR5G/aoDokdQNwdgsFMqqsVR47IwfvgIgBPpCft6iTgGBOcaKp0VyCqpUooGJJn0epVuYyeos5Zk="}]},"_from":".","_npmVersion":"1.2.15","_npmUser":{"name":"anonymous","email":"npm@nathan7.eu"},"maintainers":[{"name":"anonymous","email":"npm@nathan7.eu"}]},"0.1.0":{"name":"snakeize","version":"0.1.0","description":"recursively transform key strings from camel-case to underscore-style","main":"index.js","devDependencies":{"tap":"~0.4.0","tape":"~0.3.0"},"scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/nathan7/snakeize.git"},"homepage":"https://github.com/nathan7/snakeize","keywords":["snake-case","json","transform"],"testling":{"files":"test/*.js","browsers":{"iexplore":["6.0","7.0","8.0","9.0"],"chrome":["20.0"],"firefox":["10.0","15.0"],"safari":["5.1"],"opera":["12.0"]}},"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"license":"MIT","gitHead":"2751f5ebef523b16d3ef3b8dc1bf50aa712b61f1","bugs":{"url":"https://github.com/nathan7/snakeize/issues"},"_id":"snakeize@0.1.0","_shasum":"10c088d8b58eb076b3229bb5a04e232ce126422d","_from":".","_npmVersion":"2.7.6","_nodeVersion":"1.6.2","_npmUser":{"name":"anonymous","email":"nathan@nathan7.eu"},"maintainers":[{"name":"anonymous","email":"npm@nathan7.eu"}],"dist":{"shasum":"10c088d8b58eb076b3229bb5a04e232ce126422d","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/snakeize/-/snakeize-0.1.0.tgz","integrity":"sha512-ot3bb6pQt6IVq5G/JQ640ceSYTPtriVrwNyfoUw1LmQQGzPMAGxE5F+ded2UwSUCyf2PW1fFAYUnVEX21PWbpQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQClz9x+oNpDCjJ2THRUqZxFFgtTD8zZAlhPjQ4yAdERUQIgdvrq1Plq331hR0RG7D5rihA6CFmOAiwoX05OJPz2Wzc="}]}}},"name":"snakeize","time":{"modified":"2022-06-26T21:37:55.844Z","created":"2013-03-26T20:11:43.895Z","0.0.0":"2013-03-26T20:11:46.728Z","0.0.1":"2013-03-26T20:45:25.431Z","0.1.0":"2015-05-13T00:23:28.164Z"},"readmeFilename":"readme.markdown","homepage":"https://github.com/nathan7/snakeize"}