Excel Stream

Alternatives To Excel Stream
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Papaparse11,6321,9821,2917 days ago41March 23, 2023178mitJavaScript
Fast and powerful CSV (delimited text) parser that gracefully handles large files and malformed input
Fast Csv1,4411,948617a day ago71December 04, 202066mitTypeScript
CSV parser and formatter for node
Filehelpers1,030
a year ago117mitC#
The FileHelpers are a free and easy to use .NET library to read/write data from fixed length or delimited records in files, strings or streams
Csv4622004310 days ago37September 17, 20222mitElixir
CSV Decoding and Encoding for Elixir
React Papaparse311273 months ago50August 13, 202249mitTypeScript
react-papaparse is the fastest in-browser CSV (or delimited text) parser for React. It is full of useful features such as CSVReader, CSVDownloader, readString, jsonToCSV, readRemoteFile, ... etc.
Tabulator Py20852212 years ago141March 21, 20211mitPython
Python library for reading and writing tabular data via streams.
Csv Write Stream1884421393 years ago12April 28, 201612bsd-2-clauseJavaScript
A CSV encoder stream that produces properly escaped CSVs
Csvbuilder1291255 years ago6August 23, 20182mitJavaScript
Easily encode complex JSON objects to CSV with CsvBuilder's schema-like API
Excel Stream12917105 years ago12July 21, 201510mitJavaScript
Csv12822a month ago2July 07, 20222mitC#
Fast C# CSV parser
Alternatives To Excel Stream
Select To Compare


Alternative Project Comparisons
Readme

excel-stream

A stream that converts excel spreadsheets into JSON object arrays.

Examples

// stream rows from the first sheet on the file
var excel = require('excel-stream')
var fs = require('fs')

fs.createReadStream('accounts.xlsx')
  .pipe(excel())  // same as excel({sheetIndex: 0})
  .on('data', console.log)

// stream rows from the sheet named 'Your sheet name'
var excel = require('excel-stream')
var fs = require('fs')

fs.createReadStream('accounts.xlsx')
  .pipe(excel({
     sheet: 'Your sheet name'
  }))
  .on('data', console.log)

stream options

The options object may have the same properties as csv-stream and these two additional properties:

  • sheet: the name of the sheet you want to stream. Case sensitive.
  • sheetIndex: the sheet number you want to stream (0-based).

Usage

npm install -g excel-stream
excel-stream < accounts.xlsx > account.json

options

newline delimited json:

excel-stream --newlines

formats

each row becomes a javascript object, so input like

foo, bar, baz
  1,   2,   3
  4,   5,   6

will become

[{
  foo: 1,
  bar: 2,
  baz: 3
}, {
  foo: 4,
  bar: 5,
  baz: 6
}]

Don't Look Now

So, excel isn't really a streamable format. But it's easy to work with streams because everything is a stream. This writes to a tmp file, then pipes it through the unfortunately named j then into csv-stream

License

MIT

Popular Stream Projects
Popular Csv Projects
Popular Control Flow Categories

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Javascript
Stream
Csv
Excel