@cfware/csv-parse

1.0.0 • Public • Published

@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.

Readme

Keywords

none

Package Sidebar

Install

npm i @cfware/csv-parse

Weekly Downloads

3

Version

1.0.0

License

MIT

Unpacked Size

4.85 kB

Total Files

5

Last publish

Collaborators

  • coreyfarrell