json5conv-cli

1.0.0 • Public • Published

GitHub license Build Status npm prettier Beerpay

json5conv

Command-line JSON5 to JSON converter

Convert JSON5 to JSON from a file or stdin. Supports line-by-line parsing (i.e. convert each line as a separate JSON5 object).

Try it in combination with jp.

Install

yarn global add json5conv-cli

Or

npm install --global json5conv-cli

Usage

Pipe json5conv onto a JSON5 source to parse the output:
  cat data.json | json5conv [options]

Options:
  -f, --file          Read input from file                              [string]
  -L, --line-by-line  Parse each line as a separate input              [boolean]
  --help              Show help                                        [boolean]

License

MIT © therealklanni

Package Sidebar

Install

npm i json5conv-cli

Weekly Downloads

7

Version

1.0.0

License

MIT

Last publish

Collaborators

  • therealklanni