download
raw
206 Bytes
import { createWriteStream } from 'fs'
import { once } from 'events'
export default async function run (opts) {
const stream = createWriteStream(opts.dest)
await once(stream, 'open')
return stream
}

Xet Storage Details

Size:
206 Bytes
·
Xet hash:
0b0c134cef9ec9a4f15bbce0df4e07c97306f31236fd9244ae9c436e4aa0b445

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