Description
Xlsxtream is a Ruby gem that writes XLSX spreadsheets as a stream. It supports several worksheets and can optionally deduplicate strings with a shared string table. The author built it to replace CSV for large exports, because CSV files often break when opened in Excel. The gem writes to a file or to any IO-like object, and it flushes data as the ZIP compressor allows. The README says it can write millions of rows quickly with low memory use. It does not support formatting, charts, comments or many other OOXML features, and the README points to caxlsx for a fully featured library. Installation is a single Gemfile line followed by bundle install, or gem install xlsxtream. The current version requires Ruby 2.6 or later, and the README gives a Gemfile line for older Ruby versions. The development section explains how to run the tests and release a new version. The gem is released under the MIT license, and the repository is public on GitHub.…
Highlights
- Streaming XLSX writer for Ruby
- Multiple worksheets
- Optional shared string deduplication
- Writes millions of rows with low memory
- Requires Ruby 2.6 or later
Ratings & Reviews
No ratings yet
Be the first to rate Xlsxtream.
People also visit
Xlsxtream FAQ
What is Xlsxtream?
It is a Ruby gem for writing Excel XLSX files as a stream, mainly for large exports.
How do I install it?
Add the gem to your Gemfile and run bundle, or run gem install xlsxtream.
What does it not support?
The README says it does not support formatting, charts, comments and many other OOXML features.
What Ruby version is needed?
Version 2.6 or later for the current release. The README gives a Gemfile line for older Ruby versions.
What license is it under?
The README says it is available as open source under the MIT License.
What are the best Xlsxtream alternatives?
Popular alternatives to Xlsxtream include Zipfly and Lol Html. See all Xlsxtream alternatives






