Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/hashrock/deno-fnparse

An extremely simple parser combinator for Deno.
https://github.com/hashrock/deno-fnparse

Last synced: about 2 months ago
JSON representation

An extremely simple parser combinator for Deno.

Lists

README

        

# deno-fnparse

[![Build Status](https://travis-ci.org/hashrock/deno-fnparse.svg?branch=master)](https://travis-ci.org/hashrock/deno-fnparse)

A port of [fnparse.js](https://github.com/anatoo/fnparse.js) to TypeScript for Deno.

An extremely simple parser combinator for JavaScript.

# CSV Parser

- Based on RFC4180.
- Multiline and escape support.

```typescript
import { parseCsv } from "https://denopkg.com/hashrock/deno-fnparse/parsers/csv.ts";

parseCsv("test,123,456");
// -> [["test", "123", "456"]]
```

# Original License

The MIT License (MIT)

Copyright © 2014, Mitsunori KUBOTA

Ported by hashrock