Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 596 Bytes

README.org

File metadata and controls

29 lines (21 loc) · 596 Bytes

Janet CSV Parser

Released under ISC license

Table of Contents

Description

A simple CSV parser based on janet’s peg library.

It can parse:

  • headers
  • multiline fields
  • escaped field characters

API

  • (csv-parser/parse data &opt header)
    data
    a string
    header
    use the first line as an header

Returns an Array of Arrays or an Array of Dicts.