Buckets:
| const browsers = require('./browsers').browsers | |
| function unpackRegion(packed) { | |
| return Object.keys(packed).reduce((list, browser) => { | |
| let data = packed[browser] | |
| list[browsers[browser]] = Object.keys(data).reduce((memo, key) => { | |
| let stats = data[key] | |
| if (key === '_') { | |
| stats.split(' ').forEach(version => (memo[version] = null)) | |
| } else { | |
| memo[key] = stats | |
| } | |
| return memo | |
| }, {}) | |
| return list | |
| }, {}) | |
| } | |
| module.exports = unpackRegion | |
| module.exports.default = unpackRegion | |
Xet Storage Details
- Size:
- 550 Bytes
- Xet hash:
- ca2d98b573d6b2b686fbcde720b98e01edf125cc16526035e8466e9bdea2e66a
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.