From: Ardis Lu Date: Tue, 14 Jan 2025 07:30:12 +0000 (-0800) Subject: Align example to match others X-Git-Tag: v0.1.0~123 X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=3c29d306518d13763eef446186b287ea2eaeaa01;p=csvio Align example to match others --- diff --git a/README.md b/README.md index 7b0562c..021655d 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ function timesTwo(row) { return [Number(row[0]) * 2, Number(row[1]) * 2]; } -createCSVReadableStream('./data/example-in.csv') +await createCSVReadableStream('./data/example-in.csv') .pipeThrough(createCSVTransformStream(timesTwo)) .pipeTo(createCSVWritableStream('./data/example-out.csv')); ```