@cao-mei-you-ren/json5conv-cli

1.1.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 @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

Package Sidebar

Install

npm i @cao-mei-you-ren/json5conv-cli

Weekly Downloads

0

Version

1.1.0

License

MIT

Unpacked Size

8.31 kB

Total Files

8

Last publish

Collaborators

  • cao-mei-you-ren