1.1.1 • Published 1 year ago

@kctolli/parsecsv v1.1.1

Weekly downloads
-
License
GPL-3.0-or-later
Repository
-
Last release
1 year ago

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

1.1.1

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago