JSPM

  • Created
  • Published
  • Downloads 1029866
  • Score
    100M100P100Q178629F
  • License MIT

Convert JSON to CSV

Package Exports

  • json2csv
  • json2csv/lib/JSON2CSVParser
  • json2csv/lib/JSON2CSVParser.js
  • json2csv/lib/json2csv.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (json2csv) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

⚠️ WARNING: THIS PACKAGE IS ABANDONED

The code has moved to a new home.

This repository stays as a the historic home of json2csv up until v5. From v6, the library has been broken into smaller libraries that are now published to NPM independently:

  • Plainjs: Includes the Parser API and a new StreamParser API which doesn't the conversion in a streaming fashion in pure js.
  • Node: Includes the Node Transform and Node Async Parser APIs for Node users.
  • WHATWG: Includes the WHATWG Transform Stream and WHATWG Async Parser APIs for users of WHATWG streams (browser, Node or Deno).
  • CLI: Includes the CLI interface.
  • Transforms: Includes the built-in transforms for json2csv.
  • Formatters: Includes the built-in formatters for json2csv. Formatters are the new way to format data before adding it to the resulting CSV.

Up-to-date documentation of the library can be found at https://juanjodiaz.github.io/json2csv