json-linebreaks

0.0.2 • Public • Published

json-linebreaks

Injects line breaks to JSON string },{ to allow for streaming large JSON files.

$ node json-linebreaks

json-linebreaks 0.0.2

  Injects line breaks to JSON string },{ to allow for streaming large JSON files.

Options

  --input file     The JSON file to read: ./test-read.json
  --output file    The file to save to: ./test-save.json
  --write-input    Outputs result to the --input file.
  --console        Outputs result to the console.
  --version        Print the current version of json-linebreaks.
  --help           Print this usage guide.

Synopsis

  $ node json-linebreaks [--input file] --output file
  $ node json-linebreaks [--input file] --write-input
  $ node json-linebreaks [--input file] --console
  $ node json-linebreaks --version
  $ node json-linebreaks --help

Package Sidebar

Install

npm i json-linebreaks

Weekly Downloads

1

Version

0.0.2

License

MIT License

Last publish

Collaborators

  • nathanh0