1 # decamelize-keys [![Build Status](https://travis-ci.org/dsblv/decamelize-keys.svg?branch=master)](https://travis-ci.org/dsblv/decamelize-keys)
3 > Convert object keys from camelCase to lowercase with a custom separator using [`decamelize`](https://github.com/sindresorhus/decamelize)
5 *This project was forked from [`camelcase-keys`](https://github.com/sindresorhus/camelcase-keys) and converted to do the opposite*
11 $ npm install --save decamelize-keys
18 const decamelizeKeys = require('decamelize-keys');
20 decamelizeKeys({fooBar: true}, '-');
21 //=> {'foo-bar': true}
27 ### decamelizeKeys(input, [separator], [options])
41 A string to insert between words.
52 Alternative way to specify [separator](#separator).
59 Exclude keys from being decamelized.
64 See [`camelcase-keys`](https://github.com/sindresorhus/camelcase-keys) for the inverse.
69 MIT © [Sindre Sorhus](http://sindresorhus.com), [Dmirty Sobolev](https://github.com/dsblv)