Project

lightcsv

0.0
No commit activity in last 3 years
No release in over 3 years
This fast CSV parser
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

LightCsv

Description

LightCsv is CSV paresr.

Installation

% gem install lightcsv

Differ from csv.rb

  • CSV record separator is LF, CR or CR LF.
  • LightCsv never returns nil. The empty column is "".

Examples

LightCsv.foreach(filename){|row| ...}
LightCsv.readlines(filename)   #=> [[col1, col2, ...], ...]
LightCsv.parse(string){|row| ...}
LightCsv.parse(string)         #=> [col1, col2, ...], ...]

Copyright

Copyright (c) 2007 TOMITA Masahiro tommy@tmtm.org

License

Ruby's license http://www.ruby-lang.org/en/about/license.txt