download
raw
358 Bytes
'use strict'
const pino = require('./pino')
const { once } = require('node:events')
module.exports = async function (opts = {}) {
const destOpts = Object.assign({}, opts, { dest: opts.destination || 1, sync: false })
delete destOpts.destination
const destination = pino.destination(destOpts)
await once(destination, 'ready')
return destination
}

Xet Storage Details

Size:
358 Bytes
·
Xet hash:
f95389258ab486c7b026e566d3222de2e3418df9f171bd609f1b2415ff0f5709

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