xlsx-parser
xlsx-parser (v0.2.0)
Crystal wrapper for parsing .xlsx spreadsheets
:warning: Warning : This shard is still in development, this may have lots of bugs !
Installation
-
Add the dependency to your
shard.yml
:dependencies: xlsx-parser: github: D1ceWard/xlsx-parser version: 0.2.0
-
Run
shards install
Usage
require "xlsx-parser"
file_io = File.new("./my_super_spreadsheet.xlsx")
book = XlsxParser::Book.new(file_io)
book.sheets[0].rows.each do |row|
# Print row content
puts row
end
book.close
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/D1ceWard/xlsx-parse. By contributing you agree to abide by the Code of Merit.
- Fork it (https://github.com/D1ceWard/xlsx-parser/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- D1ceWard - creator and maintainer