🍺 BREW Explorer

← all formulae

jsonlint

brew install jsonlint v1.6.3 MIT

JSON parser and validator with a CLI

139
30-day installs · #3030
486
90-day · #2925
2.6k
365-day · #2530
2.0k
★ GitHub stars · updated 4y ago

Runtime dependencies

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [
    "node"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "JSON parser and validator with a CLI",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:39:06+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "jsonlint",
  "github_default_branch": "master",
  "github_last_commit_at": "2022-07-12T19:08:22Z",
  "github_readme_excerpt": "JSON Lint\n=========\n\nA pure [JavaScript version](http://zaach.github.com/jsonlint/) of the service provided at [jsonlint.com](http://jsonlint.com).\n\n## Command line interface\nInstall jsonlint with npm to use the command line interface:\n\n    npm install jsonlint -g\n\nValidate a file like so:\n\n    jsonlint myfile.json\n\nor pipe input into stdin:\n\n    cat myfile.json | jsonlint\n\njsonlint will either report a syntax error with details or pretty print the source if it is valid.\n\n### Options\n\n    $ jsonlint -h\n\n    Usage: jsonlint [file] [options]\n\n    file     file to parse; otherwise uses stdin\n\n    Options:\n       -v, --version            print version and exit\n       -s, --sort-keys          sort object keys\n       -i, --in-place           overwrite the file\n       -t CHAR, --indent CHAR   character(s) to use for indentation  [  ]\n       -c, --compact            compact error display\n       -V, --validate           a JSON schema to use for validation\n       -e, --environment        which specification of JSON Schema the validation file uses  [json-schema-draft-03]\n       -q, --quiet              do not print the parsed json to STDOUT  [false]\n       -p, --pretty-print       force pretty printing even if invalid\n\n\n## Module interface\n\nI\u0027m not sure why you wouldn\u0027t use the built in `JSON.parse` but you can use jsonlint from a CommonJS module:\n\n    var jsonlint = require(\"jsonlint\");\n\n    jsonlint.parse(\u0027{\"creative?\": false}\u0027);\n\nIt returns the parsed object or throws an `Error`.\n\n## Vim Plugins\n\n* [Syntastic](http://www.vim.org/scripts/script.php?script_id=2736)\n* [sourcebeautify](http://www.vim.org/scripts/script.php?script_id=4079)\n* [ALE](https://github.com/w0rp/ale)\n\n## MIT License\n\nCopyright (C) 2012 Zachary Carter\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, me",
  "github_repo": "zaach/jsonlint",
  "github_stars": 1989,
  "github_topics": [],
  "homepage": "https://github.com/zaach/jsonlint",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 139,
  "installs_365d": 2633,
  "installs_90d": 486,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "MIT",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "jsonlint",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 3030,
  "rank_365d": 2530,
  "rank_90d": 2925,
  "raw_hash": "1e72299b60dbcaac",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/j/jsonlint.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": null,
  "version_stable": "1.6.3",
  "versioned_formulae": [],
  "why_use_this": null
}