CSV bytes to parse.
Optional
options: ParseBinaryOptions<Header>Parsing options
Stream of records.
import { parseUint8Array } from 'web-csv-toolbox';
const csv = Uint8Array.from([
// ...
]);
const stream = parseUint8Array.toStream(csv);
await stream.pipeTo(
new WritableStream({
write(record) {
console.log(record);
},
}),
);
Parse a binary from an Uint8Array to a stream of records.