@cao-mei-you-ren/json5conv-cli
v1.1.0
Published
Command-line JSON5 to JSON converter
Downloads
2
Maintainers
Readme
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