macOS
brew install json5local Homebrew formula metadata
brew
JSON enhanced with usability features. Version 2.2.3 via Homebrew; verified from local package data.
install
brew install json5local Homebrew formula metadata
overview
JSON enhanced with usability features
history
JSON5 is both a data-format proposal and a JavaScript reference implementation for a more hand-editable superset of JSON. The format adds familiar ECMAScript 5.1 syntax such as comments, trailing commas, single-quoted strings, unquoted object keys, and additional number forms.
The JSON5 GitHub repository and npm package both date to May 2012. The official site describes JSON5 as `JSON for Humans`, positioning it for configuration and other hand-authored files rather than machine-to-machine interchange.
In March 2018, the JSON5 specification was published as Standard JSON5 1.0.0. The spec frames JSON5 as a superset of JSON that expands syntax with selected ECMAScript 5.1 productions while keeping JSON's data model.
The official site reported in 2022 that JSON5 received more than 65 million npm downloads per week, ranked in the top 0.1 percent of depended-upon npm packages, and had been adopted by projects including Chromium, Next.js, Babel, Retool, WebStorm, and Apple platforms.
Its wide adoption came less from command-line use than from dependency graphs: parsers, build tools, configuration loaders, and editors pulled JSON5 in as a friendlier format for files people edit by hand.
The JavaScript package exposes an API compatible with the standard JSON API, including `JSON5.parse()` and `JSON5.stringify()`, and the Homebrew formula provides the `json5` CLI. Typical usage is parsing configuration-like input that wants comments and trailing commas while preserving JSON-like data structures.
JSON5 is package-nerd significant because it became one of the few JSON-adjacent formats that escaped niche status. It is a reminder that tiny syntax conveniences in configuration files can create enormous dependency footprints once build systems and editors standardize around them.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
json5 | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/json5/json5
install metadata
| Package key | brew:json5 |
|---|---|
| Version | 2.2.3 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/json5 |
| Homepage | https://json5.org/ |
| Repository | https://github.com/json5/json5 |
| Upstream docs | https://json5.org/ |
| License | MIT |
| Source archive | https://github.com/json5/json5/archive/refs/tags/v2.2.3.tar.gz |
| Dependencies | node |
| Bottle | available (on all) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | json5 |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.