2 var mapObj = require('map-obj');
3 var camelCase = require('camelcase');
5 module.exports = function (input, options) {
6 options = options || {};
7 var exclude = options.exclude || [];
8 return mapObj(input, function (key, val) {
9 key = exclude.indexOf(key) === -1 ? camelCase(key) : key;