🎉 Initial commit

This commit is contained in:
Simon Schneegans
2020-08-15 12:02:21 +02:00
parent b8f4f17c5a
commit ed18a71a87
364 changed files with 87551 additions and 2 deletions

View File

@@ -0,0 +1,9 @@
export function lowercaseKeys(object) {
if (!object) {
return {};
}
return Object.keys(object).reduce((newObj, key) => {
newObj[key.toLowerCase()] = object[key];
return newObj;
}, {});
}