dumpToCar
Function: dumpToCar()
Parameters
Parameter
Type
Returns
Example
// You can output the car to a file with:
import { pipeline } from 'node:stream/promises'
import { createWriteStream } from 'node:fs'
await pipeline(
dumpToCar(resolver),
createWriteStream(path)
)Defined in
Last updated