ghaction-upx/node_modules/lowercase-keys/index.js
2020-01-17 09:39:25 +01:00

12 lines
208 B
JavaScript

'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;
};