Convert object keys to humanized words
npm install humanize-keys> Convert object keys to humanized words using humanize-string
```
$ npm install humanize-keys
`js
const humanizeKeys = require('humanize-keys');
// Convert an object
humanizeKeys({fooBar: true});
//=> {'Foo bar': true}
// Convert an array of objects
humanizeKeys([{fooBar: true}, {'bar-foo': false}]);
//=> [{'Foo bar': true}, {'Bar foo': false}]
humanizeKeys({'foo-bar': true, nested: {unicorn_rainbow: true}}, {deep: true});
//=> {'Foo bar': true, nested: {'Unicorn rainbow': true}}
`
`js
const humanizeKeys = require('humanize-keys');
const argv = require('minimist')(process.argv.slice(2));
//=> {_: [], 'foo-bar': true}
humanizeKeys(argv);
//=> {_: [], 'Foo bar': true}
`
#### input
Type: Object Object[]
Object or array of objects to humanize.
#### options
Type: Object
##### exclude
Type: Array[]
Default:
Exclude keys from being humanized.
##### deep
Type: booleanfalse`
Default:
Recurse nested objects and objects in arrays.
MIT © Danier R.