Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

lightcsv

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lightcsv

  • 0.2.4
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

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 (c) 2007 TOMITA Masahiro tommy@tmtm.org

License

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

FAQs

Package last updated on 27 Aug 2012

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc