Convert a csv formatted string to an array
A JSON to CSV and CSV to JSON converter that natively supports sub-documents and auto-generates the CSV heading.
convert csv to array from file
Convert an array to a csv formatted string
Converts an array of objects into a CSV file. Saves CSV to disk or returns as string.
TypeScript definitions for convert-array-to-csv
Streaming CSV parser that aims for maximum speed as well as compatibility with the csv-spectrum test suite
A tool concentrating on converting csv data to JSON with customised parser supporting
A jQuery CSV parser plugin. Battle Tested | Optimized | 100% IETF RFC 4180 Complete
Fast and powerful CSV parser for the browser that supports web workers and streaming large files. Converts CSV to JSON and JSON to CSV.
Convert CSV to JSON
Convert objects/arrays into a CSV string or write them into a CSV file
Convert a typed array to a Buffer without a copy
CLI for the json-2-csv package
Sync loading of a small .csv file
Reduce initial definitions to the actual initial value, where possible.
fast-csv formatting module
fast-csv parsing package
CSV parsing implementing the Node.js `stream.Transform` API
Object transformations implementing the Node.js `stream.Transform` API
CSV parser and writer
CSV stringifier implementing the Node.js `stream.Transform` API
Build CSV files on the fly basing on Array/literal object of data
Converts an array of objects into a CSV file. Saves CSV to disk or returns as string.
Adds convenience method Array#to_csv for converting an array of hashes to CSV.
Convert arrays to CSV (array of hashes, matrixes, ActiveRecord objects etc).
Adds Array#to_csv method that converts the contents of the array to CSV format.
Adds Array#to_csv method that converts the contents of the array to CSV format.
Generates permutations and returns an array, or prints to csv, or prints to console. See https://github.com/andydwyer/brutalitops for usage.
CSVobj provides a legible and maintainable mechanism to manipulate CSV files by creating an array of objects from a file or string of CSV information. The resulting object's attributes are defined dynamically and are based on the CSV column name.
This gem converts arrays of JSON objects, arrays of hashes, arrays of ActionController params, simple hashes, or ActiveRecord relations and objects to a CSV-formatted string.
A simple way to Open .csv, .xls, .xlsx files. You can convert it to 2D array, hash, data frame.
HOCSV is a Ruby gem that converts an array of hashes to a CSV file.
Provides a nice DSL to describe your CSV document. CSV documents can be validated against this description. You can easily define types like Integer or Array for CSV through converters.
This library performs diffs of CSV data, or any table-like source. Unlike a standard diff that compares line by line, and is sensitive to the ordering of records, CSV-Diff identifies common lines by key field(s), and then compares the contents of the fields in each line. Data may be supplied in the form of CSV files, or as an array of arrays. The diff process provides a fine level of control over what to diff, and can optionally ignore certain types of changes (e.g. changes in position). CSV-Diff is particularly well suited to data in parent-child format. Parent- child data does not lend itself well to standard text diffs, as small changes in the organisation of the tree at an upper level can lead to big movements in the position of descendant records. By instead matching records by key, CSV-Diff avoids this issue, while still being able to detect changes in sibling order. This gem implements the core diff algorithm, and handles the loading and diffing of CSV files (or Arrays of Arrays). It also supports converting data in XML format into tabular form, so that it can then be processed like any other CSV or table-like source. It returns a CSVDiff object containing the details of differences in object form. This is useful for projects that need diff capability, but want to handle the reporting or actioning of differences themselves. For a pre-built diff reporting capability, see the csv-diff-report gem, which provides a command-line tool for generating diff reports in HTML, Excel, or text formats.
This Ruby lib aims at converting JSON files composed of arrays of objects (all following the same schema) into CSV files where one line equals one object.