Project

colander

0.0
No commit activity in last 3 years
No release in over 3 years
Exctract an array of emails from various file formats (xls, xlsx, csv, txt)
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
>= 0

Runtime

~> 2.0.2
 Project Readme

Colander Build Status Code Climate Gem Version

Colander is a gem to collect emails from various file formats.

Supported formats

  • "Old" Ms Excel files, ending in .xls
  • Ms Excel files ending with .xlsx
  • CSV, Comma-separated values
  • Plain text files

Usage

parser = Colander.parse("/path/to/file.xls")
parser.emails # => ["foo@bar.com"]

or

parser = Colander.parse("/path/to/file_without_extension", "filename.xlsx")
parser.emails # => ["foo@bar.com"]