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

https://github.com/cloud8421/yacsv

A basic csv parser for Elixir.
https://github.com/cloud8421/yacsv

Last synced: about 1 month ago
JSON representation

A basic csv parser for Elixir.

Awesome Lists containing this project

README

          

# Yacsv

Basic csv parser written to learn some Elixir.

Usage is simple:

Yacsv.parse("Some, string")

To customize the separator:

Yacsv.parse("Some-string", '-')

It supports quoted values:

Yacsv.parse("OSI, Office of Strategic Influence, \"Hello, Helicopter!\", 2003")

To customize the quote character:

Yacsv.parse("OSI, Office of Strategic Influence, 'Hello, Helicopter!', 2003", ',', '\'')

Tests can be run with `mix test`.