Scroll to navigation

CLI.JS(1) User Commands CLI.JS(1)

NAME

cli.js - Command line for the JSON5 Data Interchange Format (JSON5)

DESCRIPTION

Usage: json5 [options] <file>
If <file> is not provided, then STDIN is used.
Options:
The number of spaces to indent or 't' for tabs
Output to the specified file, otherwise STDOUT
Validate JSON5 but do not output JSON
Output the version number
Output usage information
January 2023 cli.js 2.2.3