1.0.0 • Published 7 months ago

@cfware/csv-parse v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

@cfware/csv-parse NPM Version

Tiny CSV string parser

Usage

import parse from '@cfware/csv-parse';

parse(string, maxRows = Infinity)

Parse the JavaScript string into an array of rows where each row is an array of columns. Setting maxRows causes the parse to escape early.

Attribution

This is based on code from dom-csv.js which is based on ucsv. The goal of this rewrite is have the smallest possible ES module which parses CSV.

1.0.0

7 months ago

0.1.1

4 years ago

0.1.0

4 years ago