]> git.ardis.lu - csvio/commitdiff
Note that rows includes the header row
authorArdis Lu <ardisglu@gmail.com>
Mon, 27 Jan 2025 07:04:03 +0000 (23:04 -0800)
committerArdis Lu <ardisglu@gmail.com>
Mon, 27 Jan 2025 07:04:03 +0000 (23:04 -0800)
src/core.js

index 00c953b59b56c6c95e6c7bfccdf58be61b5d5853..64f3c69b3e18bd03aa631e2577791123e7e12cce 100644 (file)
@@ -378,7 +378,7 @@ export class CSVWriter extends WritableStream {
    * @property {number} elapsed The number of milliseconds that have elapsed between this writer's creation and the output CSV file
    * handle closing, or until now if the writer is still writing. Measured using `performance.now()`.
    * @property {number} rows The estimated number of CSV rows that have been written. If the data passed to the writer is
-   * a string, the string is counted as one CSV row (i.e., raw string data is NOT parsed again).
+   * a string, the string is counted as one CSV row (i.e., raw string data is NOT parsed again). Includes the header row (first row).
    * @property {boolean} done If `true`, the writer is finished writing to the output CSV file and the file handle is closed.
    */
 
This page took 0.051576 seconds and 4 git commands to generate.