index.js 219 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 'use strict'; module.exports = function (obj) { var ret = {}; var keys = Object.keys(Object(obj)); for (var i = 0; i < keys.length; i++) { ret[keys[i].toLowerCase()] = obj[keys[i]]; } return ret; };