]> git.ardis.lu - csvio/commit
Make column matching case insensitive by default
authorArdis Lu <ardisglu@gmail.com>
Thu, 25 Sep 2025 06:33:37 +0000 (23:33 -0700)
committerArdis Lu <ardisglu@gmail.com>
Thu, 25 Sep 2025 06:33:37 +0000 (23:33 -0700)
commit4fca85f0479b71efff6ea37a49444946d27b5fb9
treea95ca68a2466fd494f4b06df3d5131809151f39f
parent9658ea05680a3c9e84d7a09de66776be9cb2fc26
Make column matching case insensitive by default

Before: `datetime` and `dateTime` are considered different columns.

After: `datetime` and `dateTime` are considered the same column (last column prevails).

Note the output column name will still use the same casing passed in `CSVNormalizerHeader`.

`CSVNormalizer` already significantly modifies column names by normalizing to camelCase, so it is surprising the column matching is still case sensitive. It is likely that in the case a user wants `column A` and `columnA` to be the same column, that they'd also want `columna` to be the same as well.
src/normalization.js
test/normalization.test.js
This page took 0.049545 seconds and 4 git commands to generate.