]>
git.ardis.lu - csvio/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Ardis Lu [Fri, 10 Jan 2025 05:45:15 +0000 (21:45 -0800)]
Explicitly await for stream close
Otherwise, a race condition occurs when running these examples in test cases
Ardis Lu [Thu, 9 Jan 2025 07:29:35 +0000 (23:29 -0800)]
Use paths relative to JS file location, not execution location
Allows the example files to be run from any directory, not just /examples
Ardis Lu [Thu, 9 Jan 2025 07:27:33 +0000 (23:27 -0800)]
Accept PathLike input for createCSVWritableStream
To be consistent with createCSVReadableStream and also allow paths relative to JS file (vs. execution directory only).
Ardis Lu [Thu, 9 Jan 2025 05:44:24 +0000 (21:44 -0800)]
Add example for returning null in transformation
Ardis Lu [Thu, 9 Jan 2025 05:38:02 +0000 (21:38 -0800)]
Allow transformation function to consume input row without output
Ardis Lu [Thu, 9 Jan 2025 05:16:36 +0000 (21:16 -0800)]
Specify "transformation function" instead of "logic function" to be clear
Ardis Lu [Wed, 8 Jan 2025 06:24:25 +0000 (22:24 -0800)]
Push one empty row if CSV is blank
Added a negative test to catch this edge case because it was not caught with the positive test case.
Ardis Lu [Sat, 4 Jan 2025 07:22:00 +0000 (23:22 -0800)]
Avoid flushing to disk
Performance cost is too great (for a 100k row/100MB CSV, increases write time from 6s to 60s) for benefit (memory usage, partial recoverability if interrupted). Need to use a more intelligent approach than flushing on every row.
Ardis Lu [Fri, 3 Jan 2025 05:42:17 +0000 (21:42 -0800)]
Format to prevent horizontal scroll
Ardis Lu [Fri, 3 Jan 2025 04:33:26 +0000 (20:33 -0800)]
Add tests for rawOutput
Ardis Lu [Fri, 3 Jan 2025 04:32:41 +0000 (20:32 -0800)]
Refactor to delete redundant code
Ardis Lu [Thu, 2 Jan 2025 02:43:28 +0000 (18:43 -0800)]
Initial commit
This page took 0.035881 seconds and 4 git commands to generate.