1.1.0 • Published 4 years ago

@cao-mei-you-ren/json5conv-cli v1.1.0

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

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 @cao-mei-you-ren/json5conv-cli

Or

npm install --global @cao-mei-you-ren/json5conv-cli

Usage

Pipe json5conv onto a JSON5 source to parse the output:
json5 [options]

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

License

MIT © therealklanni