@kctolli/parsecsv

1.1.1 • Public • Published

ParseCSV

Parses the given CSV text and returns an array of objects representing the parsed data.

  • Uses a regular expression to split the CSV text into rows while handling '\r'
  • Extracts headers (assumes the first row is the header row)
  • Initializes an array to store the parsed data
  • Uses the regular expression to split the row while handling '\r'

Licensed under GPL-3.0-or-later

Readme

Keywords

Package Sidebar

Install

npm i @kctolli/parsecsv

Weekly Downloads

2

Version

1.1.1

License

GPL-3.0-or-later

Unpacked Size

36.8 kB

Total Files

4

Last publish

Collaborators

  • kctolli