]> git.ardis.lu - csvio/commit
Remove empty rows before the header row
authorArdis Lu <ardisglu@gmail.com>
Fri, 26 Sep 2025 06:45:57 +0000 (23:45 -0700)
committerArdis Lu <ardisglu@gmail.com>
Fri, 26 Sep 2025 06:45:57 +0000 (23:45 -0700)
commite0f3b849c1bc5b936dbf707bd288dc61019c6ba1
treeb27c9fc5dcccac09750a841216f73b768c12505d
parent4fca85f0479b71efff6ea37a49444946d27b5fb9
Remove empty rows before the header row

Empty rows before the header are sometimes used for formatting purposes, and they should be removed from the data.

It is not possible to normalize an empty row before the headers are known, so empty rows that come before the header row are *always* removed, even if `passthroughEmptyRows` is `true`.
README.md
src/normalization.js
test/normalization.test.js
This page took 0.037446 seconds and 4 git commands to generate.