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.
- Host: GitHub
- URL: https://github.com/cloud8421/yacsv
- Owner: cloud8421
- Created: 2014-01-07T17:50:59.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-11-08T14:16:10.000Z (over 11 years ago)
- Last Synced: 2025-03-02T13:26:24.461Z (over 1 year ago)
- Language: Elixir
- Size: 180 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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`.