tahamajs's picture
download
raw
258 Bytes
import { util } from '@citation-js/core';
const {
fetchFile,
fetchFileAsync
} = util;
export function parse(urls) {
return [].concat(urls).map(fetchFile);
}
export function parseAsync(urls) {
return Promise.all([].concat(urls).map(fetchFileAsync));
}

Xet Storage Details

Size:
258 Bytes
·
Xet hash:
a63dd43f7a8c06024146a13dc7d1930dd8179a0df0fc982c3e50decdbf9ffaef

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