{"id":19441548,"url":"https://github.com/standard/standard-json","last_synced_at":"2026-03-08T16:05:57.750Z","repository":{"id":35924909,"uuid":"40212818","full_name":"standard/standard-json","owner":"standard","description":":on:Format JavaScript Standard Style output to a JSON array.","archived":false,"fork":false,"pushed_at":"2023-09-16T07:25:18.000Z","size":23,"stargazers_count":22,"open_issues_count":1,"forks_count":10,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-08-09T16:47:05.894Z","etag":null,"topics":["eslint","javascript","json","lint","nodejs","standard"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/standard.png","metadata":{"funding":{"github":["standard","feross"]},"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-08-04T22:48:41.000Z","updated_at":"2024-11-06T21:26:06.000Z","dependencies_parsed_at":"2024-11-10T15:49:30.582Z","dependency_job_id":null,"html_url":"https://github.com/standard/standard-json","commit_stats":{"total_commits":32,"total_committers":9,"mean_commits":"3.5555555555555554","dds":0.5625,"last_synced_commit":"81b69fa12dcbcf513a85f9e5b86f68dfcb305151"},"previous_names":["flet/standard-json"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/standard/standard-json","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/standard%2Fstandard-json","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/standard%2Fstandard-json/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/standard%2Fstandard-json/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/standard%2Fstandard-json/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/standard","download_url":"https://codeload.github.com/standard/standard-json/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/standard%2Fstandard-json/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000835,"owners_count":26082950,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["eslint","javascript","json","lint","nodejs","standard"],"created_at":"2024-11-10T15:36:11.688Z","updated_at":"2025-10-09T06:33:03.508Z","avatar_url":"https://github.com/standard.png","language":"JavaScript","funding_links":["https://github.com/sponsors/standard","https://github.com/sponsors/feross"],"categories":[],"sub_categories":[],"readme":"# standard-json\n\n[![npm][npm-image]][npm-url]\n[![travis][travis-image]][travis-url]\n[![downloads][downloads-image]][downloads-url]\n \n[npm-image]: https://img.shields.io/npm/v/standard-json.svg?style=flat-square\n[npm-url]: https://www.npmjs.com/package/standard-json\n[travis-image]: https://img.shields.io/travis/standard/standard-json.svg?style=flat-square\n[travis-url]: https://travis-ci.org/standard/standard-json\n[downloads-image]: https://img.shields.io/npm/dm/standard-json.svg?style=flat\n[downloads-url]: https://npmjs.org/package/standard-json\n\nFormat JavaScript Standard Style output to a JSON array!\n\n## Install\n\n```\n# use the CLI\nnpm install --global standard-json\n\n# or use programatically\nnpm install --save standard-json\n```\n\n## CLI Usage\n\n```bash\nstandard | standard-json\n# exit code will be 1 if any errors are found\n\nstandard --verbose | standard-json\n# the ruleId attribute will be filled in if --verbose is passed\n\n# works with anything based on standard-engine!\nsemistandard | standard-json\ndoublestandard | standard-json\n\n```\n\n## Example output JSON (formatted)\nTypical `standard` output:\n```bash\nstandard: Use JavaScript Standard Style (https://github.com/feross/standard)\n  /home/icmpdev/code/standard-json/bin.js:19:21: Missing space before function parentheses.\n  /home/icmpdev/code/standard-json/index.js:6:35: Strings must use singlequote.\n  /home/icmpdev/code/standard-json/index.js:6:51: Extra semicolon.\n  /home/icmpdev/code/standard-json/index.js:17:5: Keyword \"if\" must be followed by whitespace.\n  /home/icmpdev/code/standard-json/index.js:22:28: Extra semicolon.\n```\n\nAfter running through standard-json:\n```json\n[\n  {\n    \"filePath\": \"/home/flet/code/something-great/bin.js\",\n    \"messages\": [\n      {\n        \"line\": \"19\",\n        \"column\": \"21\",\n        \"message\": \"Missing space before function parentheses.\"\n      }\n    ]\n  },\n  {\n    \"filePath\": \"/home/flet/code/something-great/index.js\",\n    \"messages\": [\n      {\n        \"line\": \"6\",\n        \"column\": \"35\",\n        \"message\": \"Strings must use singlequote.\"\n      },\n      {\n        \"line\": \"6\",\n        \"column\": \"51\",\n        \"message\": \"Extra semicolon.\"\n      },\n      {\n        \"line\": \"17\",\n        \"column\": \"5\",\n        \"message\": \"Keyword \\\"if\\\" must be followed by whitespace.\"\n      },\n      {\n        \"line\": \"22\",\n        \"column\": \"28\",\n        \"message\": \"Extra semicolon.\"\n      }\n    ]\n  }\n]\n```\n\n## API Usage\n\n```js\n\nvar txt = someStandardThing() // produces Standard Style output\n\nvar standardJson = require('standard-json')\n\nvar output = standardJson(txt)\n// output will be an array of errors or an empty array.\n\nvar output = standardJson(txt, {noisey: true})\n// output will be an array of errors or an empty array.\n// The banner will be `console.error`'d (plus any other non-parsable lines)\n\n```\n\n## Inspiration\n\nThis package was inspired by:\n- [snazzy](https://github.com/standard/snazzy)\n- https://github.com/standard/standard/issues/222\n\n\n## Contributing\n\nContributions welcome! Please read the [contributing guidelines](CONTRIBUTING.md) first.\n\n## License\n\n[ISC](LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstandard%2Fstandard-json","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstandard%2Fstandard-json","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstandard%2Fstandard-json/lists"}