{"id":51515077,"url":"https://github.com/davidbreyer/format-lizard","last_synced_at":"2026-07-08T10:30:58.127Z","repository":{"id":362385572,"uuid":"1258814586","full_name":"davidbreyer/format-lizard","owner":"davidbreyer","description":"A small JavaScript formatter app for JSON, XML, YAML, and CSS.","archived":false,"fork":false,"pushed_at":"2026-06-13T00:07:31.000Z","size":106,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-06-13T02:11:47.841Z","etag":null,"topics":["css","editor","format","xml"],"latest_commit_sha":null,"homepage":"http://www.davidbreyer.com/format-lizard/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/davidbreyer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-06-04T00:19:10.000Z","updated_at":"2026-06-13T00:07:21.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/davidbreyer/format-lizard","commit_stats":null,"previous_names":["davidbreyer/lizard-formatter","davidbreyer/format-lizard"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/davidbreyer/format-lizard","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidbreyer%2Fformat-lizard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidbreyer%2Fformat-lizard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidbreyer%2Fformat-lizard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidbreyer%2Fformat-lizard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidbreyer","download_url":"https://codeload.github.com/davidbreyer/format-lizard/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidbreyer%2Fformat-lizard/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35262336,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-08T02:00:06.796Z","response_time":61,"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":["css","editor","format","xml"],"created_at":"2026-07-08T10:30:58.027Z","updated_at":"2026-07-08T10:30:58.114Z","avatar_url":"https://github.com/davidbreyer.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Format Lizard\n\nA small JavaScript formatter app for JSON, XML, YAML, and CSS.\n\nOpen `index.html` in a browser, paste compact or messy data into the left editor, or use `Open` to load a local `.json`, `.xml`, `.config`, `.yaml`, `.yml`, or `.css` file.\nThen format or minify it into the right editor.\nUse `Save` to download the formatted output as a `.json`, `.xml`, `.yaml`, or `.css` file.\n\nFor logo, color, versioning, and publishing details, see [BRAND_AND_DEPLOYMENT.md](BRAND_AND_DEPLOYMENT.md).\n\n## Supported Formats\n\n- JSON\n- XML\n- YAML\n- CSS\n\nJSON tools:\n\n- Auto-detect JSON/XML/YAML/CSS from pasted content.\n- View formatted JSON as an expandable tree.\n- Sort object keys before formatting or minifying JSON.\n- Unescape JSON strings, such as `\"{\\\"name\\\":\\\"Ada\\\"}\"`, into editable JSON.\n- Convert JSON to XML.\n\nYAML support covers common configuration-file shapes: mappings, lists, nested values, strings, booleans, nulls, and numbers.\n\nCSS support covers standard stylesheets, including comments, selectors, declarations, `@media`, and `@keyframes`.\n\nGood next candidates:\n\n- CSV, for table-shaped data.\n- HTML, for markup snippets.\n- SQL, for database queries.\n- Markdown, for prose cleanup.\n\n## GitHub Pages\n\nThe site publishes from the remote `gh-pages` branch:\n\n```text\nhttps://davidbreyer.github.io/format-lizard/\n```\n\nNormal deployment flow:\n\n```powershell\ngit add -- ...\ngit commit -m \"Some change\"\ngit push origin master\ngit push origin master:gh-pages\n```\n\n`master` stores the source/history. `gh-pages` is the branch GitHub Pages serves publicly.\n\n## Release Stamp\n\nThe footer displays the current version:\n\n```text\nVersion: YYYYMMDD-HHMM\n```\n\nThe value lives in `script.js`:\n\n```js\nconst appRelease = \"YYYYMMDD-HHMM\";\n```\n\nThe same value is used for cache-busting query strings in `index.html` for CSS and JavaScript files.\n\n## Git Hooks\n\nThe repo includes a pre-commit hook that updates the release stamp automatically before each commit.\n\nEnable it once per local clone:\n\n```powershell\ngit config core.hooksPath .githooks\n```\n\nAfter that, every `git commit` runs:\n\n```powershell\nscripts/update-release.ps1\n```\n\nThe script updates:\n\n- `const appRelease` in `script.js`\n- the visible footer version in `index.html`\n- all `?v=...` cache-busting query strings in `index.html`\n\nThe hook stages `index.html` and `script.js` so the generated release stamp is included in the commit.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidbreyer%2Fformat-lizard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidbreyer%2Fformat-lizard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidbreyer%2Fformat-lizard/lists"}