# Install json5 with Homebrew

JSON enhanced with usability features. Version 2.2.3 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:json5
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install json5
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:json5
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/json5>
- **Version:** 2.2.3
- **Source summary:** JSON enhanced with usability features
- **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>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- json5 (cli)
- json5 (alias)

## Dependencies

- node

## Install behavior

- Post-install hook: not defined
- Bottle: available on all

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 2.2.3
- Local data: ok
- Upstream repository: https://github.com/json5/json5
- Upstream latest detected: v2.2.3 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 2012-05-27: The GitHub repository was created and npm recorded version 0.0.0.
- 2018-03: Standard JSON5 1.0.0 was published.
- 2021-02-01: GitHub recorded release v2.2.0.
- 2022: The official site reported more than 65 million npm downloads per week and major-project adoption.
- 2022-12-31: GitHub recorded release v2.2.3.

### Related projects

- JSON5 sits beside JSON, YAML, TOML, HJSON, and JSONC as a configuration-oriented data format. Its reference implementation is also related to non-JavaScript ports listed by the JSON5 organization.

### Sources

- <https://formulae.brew.sh/formula/json5>
- <https://github.com/json5/json5>
- <https://json5.org/>
- <https://registry.npmjs.org/json5>
- <https://spec.json5.org/>
- <https://www.npmjs.com/package/json5>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **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:** stable


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [node](https://www.automicvault.com/pkg/brew/node/) - Runtime dependency declared by Homebrew.
- [hjson](https://www.automicvault.com/pkg/brew/hjson/) - Shares av.db curated category or tags: cli, configuration, data-format, developer-tools, json.
- [xmq](https://www.automicvault.com/pkg/brew/xmq/) - Shares av.db curated category or tags: cli, data-format, developer-tools, json.
- [yajl](https://www.automicvault.com/pkg/brew/yajl/) - Shares av.db curated category or tags: cli, data-format, developer-tools, json.
- [config-file-validator](https://www.automicvault.com/pkg/brew/config-file-validator/) - Shares av.db curated category or tags: cli, configuration, developer-tools, json.
- [dhall-json](https://www.automicvault.com/pkg/brew/dhall-json/) - Shares av.db curated category or tags: cli, configuration, developer-tools, json.
- [dyff](https://www.automicvault.com/pkg/brew/dyff/) - Shares av.db curated category or tags: cli, configuration, developer-tools, json.
- [go-jsonnet](https://www.automicvault.com/pkg/brew/go-jsonnet/) - Shares av.db curated category or tags: cli, configuration, developer-tools, json.
- [jrsonnet](https://www.automicvault.com/pkg/brew/jrsonnet/) - Shares av.db curated category or tags: cli, configuration, developer-tools, json.
- [json5](https://www.automicvault.com/pkg/npm/json5/) - Same normalized package name appears in another local ecosystem. Shared terms: json, json5.
- [json5](https://www.automicvault.com/pkg/npm/json5/) - Same normalized package name in another local ecosystem.

## Combined YAML source

View the package source record on GitHub. [combined/json5.yml](https://github.com/automic-vault/db/blob/main/combined/json5.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
