0.0.2 • Published 7 years ago

json-linebreaks v0.0.2

Weekly downloads
1
License
MIT License
Repository
github
Last release
7 years ago

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