{"id":42305160,"url":"https://github.com/porada/prettier-plugin-expand-json","last_synced_at":"2026-01-27T11:06:44.247Z","repository":{"id":333910477,"uuid":"1138537345","full_name":"porada/prettier-plugin-expand-json","owner":"porada","description":"Prettier plugin that expands JSON arrays and objects into multi-line notation","archived":false,"fork":false,"pushed_at":"2026-01-21T22:08:36.000Z","size":20,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-22T06:36:59.724Z","etag":null,"topics":["npm-package","prettier","prettier-plugin"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/porada.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-20T19:57:47.000Z","updated_at":"2026-01-21T22:08:54.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/porada/prettier-plugin-expand-json","commit_stats":null,"previous_names":["porada/prettier-plugin-expand-json"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/porada/prettier-plugin-expand-json","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/porada%2Fprettier-plugin-expand-json","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/porada%2Fprettier-plugin-expand-json/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/porada%2Fprettier-plugin-expand-json/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/porada%2Fprettier-plugin-expand-json/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/porada","download_url":"https://codeload.github.com/porada/prettier-plugin-expand-json/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/porada%2Fprettier-plugin-expand-json/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28812367,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T07:41:26.337Z","status":"ssl_error","status_checked_at":"2026-01-27T07:41:08.776Z","response_time":168,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["npm-package","prettier","prettier-plugin"],"created_at":"2026-01-27T11:06:43.609Z","updated_at":"2026-01-27T11:06:44.225Z","avatar_url":"https://github.com/porada.png","language":"TypeScript","readme":"[![](https://img.shields.io/npm/v/prettier-plugin-expand-json)](https://www.npmjs.com/package/prettier-plugin-expand-json)\n[![](https://img.shields.io/github/actions/workflow/status/porada/prettier-plugin-expand-json/test.yaml)](https://github.com/porada/prettier-plugin-expand-json/actions/workflows/test.yaml)\n[![](https://img.shields.io/codecov/c/github/porada/prettier-plugin-expand-json)](https://codecov.io/github/porada/prettier-plugin-expand-json)\n\n# prettier-plugin-expand-json\n\nExpand JSON arrays and objects into multi-line notation with Prettier—for JSON and JSONC files.\n\n## Example\n\n\u003c!-- prettier-ignore-start --\u003e\n\n```json\n{\n    \"extends\": \"@standard-config/tsconfig\",\n    \"compilerOptions\": { \"exactOptionalPropertyTypes\": true },\n    \"files\": [\"src/index.ts\", \"src/index.d.ts\"]\n}\n```\n\n\u003c!-- prettier-ignore-end --\u003e\n\n…will always be formatted as:\n\n```json\n{\n    \"extends\": \"@standard-config/tsconfig\",\n    \"compilerOptions\": {\n        \"exactOptionalPropertyTypes\": true\n    },\n    \"files\": [\n        \"src/index.ts\",\n        \"src/index.d.ts\"\n    ]\n}\n```\n\n## Install\n\n```sh\nnpm install --save-dev prettier-plugin-expand-json\n```\n\n```sh\npnpm add --save-dev prettier-plugin-expand-json\n```\n\n## Usage\n\nReference `prettier-plugin-expand-json` in your [Prettier config](https://prettier.io/docs/configuration):\n\n```json\n{\n    \"plugins\": [\n        \"prettier-plugin-expand-json\"\n    ]\n}\n```\n\nIf you’re using multiple JSON-related plugins, make sure `prettier-plugin-expand-json` is listed last. This applies to each `overrides` entry as well.\n\n```json\n{\n    \"plugins\": [\n        \"prettier-plugin-sort-json\",\n        \"prettier-plugin-expand-json\"\n    ]\n}\n```\n\n```json\n{\n    \"plugins\": [\n        \"prettier-plugin-expand-json\"\n    ],\n    \"overrides\": [\n        {\n            \"files\": \"packages/**/package.json\",\n            \"options\": {\n                \"plugins\": [\n                    \"prettier-plugin-pkg\",\n                    \"prettier-plugin-expand-json\"\n                ]\n            }\n        }\n    ]\n}\n```\n\n## Related\n\n- [**@standard-config/prettier**](https://github.com/standard-config/prettier)\n\n## License\n\nMIT © [Dom Porada](https://dom.engineering)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fporada%2Fprettier-plugin-expand-json","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fporada%2Fprettier-plugin-expand-json","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fporada%2Fprettier-plugin-expand-json/lists"}