Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Papaparse | 11,632 | 1,982 | 1,291 | 7 days ago | 41 | March 23, 2023 | 178 | mit | JavaScript | |
Fast and powerful CSV (delimited text) parser that gracefully handles large files and malformed input | ||||||||||
Fast Csv | 1,441 | 1,948 | 617 | a day ago | 71 | December 04, 2020 | 66 | mit | TypeScript | |
CSV parser and formatter for node | ||||||||||
Filehelpers | 1,030 | a year ago | 117 | mit | C# | |||||
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 | ||||||||||
Csv | 462 | 200 | 43 | 10 days ago | 37 | September 17, 2022 | 2 | mit | Elixir | |
CSV Decoding and Encoding for Elixir | ||||||||||
React Papaparse | 311 | 2 | 7 | 3 months ago | 50 | August 13, 2022 | 49 | mit | TypeScript | |
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 Py | 208 | 52 | 21 | 2 years ago | 141 | March 21, 2021 | 1 | mit | Python | |
Python library for reading and writing tabular data via streams. | ||||||||||
Csv Write Stream | 188 | 442 | 139 | 3 years ago | 12 | April 28, 2016 | 12 | bsd-2-clause | JavaScript | |
A CSV encoder stream that produces properly escaped CSVs | ||||||||||
Csvbuilder | 129 | 12 | 5 | 5 years ago | 6 | August 23, 2018 | 2 | mit | JavaScript | |
Easily encode complex JSON objects to CSV with CsvBuilder's schema-like API | ||||||||||
Excel Stream | 129 | 17 | 10 | 5 years ago | 12 | July 21, 2015 | 10 | mit | JavaScript | |
Csv | 128 | 2 | 2 | a month ago | 2 | July 07, 2022 | 2 | mit | C# | |
Fast C# CSV parser |
A stream that converts excel spreadsheets into JSON object arrays.
// 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)
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).npm install -g excel-stream
excel-stream < accounts.xlsx > account.json
newline delimited json:
excel-stream --newlines
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
}]
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
MIT