mirror of
https://github.com/crazy-max/ghaction-upx.git
synced 2024-11-25 03:36:08 -07:00
12 lines
208 B
JavaScript
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;
|
||
|
};
|