index.js 208 B

1234567891011
  1. 'use strict';
  2. module.exports = function (obj) {
  3. var ret = {};
  4. var keys = Object.keys(Object(obj));
  5. for (var i = 0; i < keys.length; i++) {
  6. ret[keys[i].toLowerCase()] = obj[keys[i]];
  7. }
  8. return ret;
  9. };