arudradey's picture
download
raw
248 Bytes
function inlineOptionsFrom(rules) {
if (Array.isArray(rules)) {
return rules;
}
if (rules === false) {
return ['none'];
}
return undefined === rules
? ['local']
: rules.split(',');
}
module.exports = inlineOptionsFrom;

Xet Storage Details

Size:
248 Bytes
·
Xet hash:
bcc2399420ab17af947c4873405634eacda49204e57af805ade03d3c8a1676ae

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