catamphetamine / read-excel-file

Read *.xlsx files in a browser or Node.js. Parse to JSON with a strict schema.

Home Page:https://catamphetamine.gitlab.io/read-excel-file/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mistake in example code of documentation

theopract opened this issue · comments

Hi there!

There is a mistake in example code of documentation for transformData function

return [['ID', 'NAME', ...]].concat(data)

Should be double square brackets for additional row.

Ok, that seems correct.