download
raw
338 Bytes
'use strict'
// parse out just the options we care about
const looseOption = Object.freeze({ loose: true })
const emptyOpts = Object.freeze({ })
const parseOptions = options => {
if (!options) {
return emptyOpts
}
if (typeof options !== 'object') {
return looseOption
}
return options
}
module.exports = parseOptions

Xet Storage Details

Size:
338 Bytes
·
Xet hash:
cd15ceb8fb77696c2f7744bda84201571fa711420784d64456464681a934c2b4

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.