{"id":48509929,"url":"https://github.com/nurulhudaapon/zzon","last_synced_at":"2026-04-07T17:31:03.330Z","repository":{"id":288302637,"uuid":"967543930","full_name":"nurulhudaapon/zzon","owner":"nurulhudaapon","description":"A fast, spec compliant, ZON parser and serializer for JavaScript.","archived":false,"fork":false,"pushed_at":"2025-10-24T05:04:06.000Z","size":1845,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-02T13:51:29.611Z","etag":null,"topics":["javascript","js","json","ts","typescript","zig","zig-package","zon"],"latest_commit_sha":null,"homepage":"https://zzon.nuhu.dev/","language":"TypeScript","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/nurulhudaapon.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":"2025-04-16T16:05:18.000Z","updated_at":"2025-12-24T01:34:13.000Z","dependencies_parsed_at":"2025-04-17T01:52:25.969Z","dependency_job_id":"33687f9a-82e0-4002-b185-70f60e9d4d20","html_url":"https://github.com/nurulhudaapon/zzon","commit_stats":null,"previous_names":["nurulhudaapon/zzon"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/nurulhudaapon/zzon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nurulhudaapon%2Fzzon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nurulhudaapon%2Fzzon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nurulhudaapon%2Fzzon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nurulhudaapon%2Fzzon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nurulhudaapon","download_url":"https://codeload.github.com/nurulhudaapon/zzon/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nurulhudaapon%2Fzzon/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31522191,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"ssl_error","status_checked_at":"2026-04-07T16:28:06.951Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["javascript","js","json","ts","typescript","zig","zig-package","zon"],"created_at":"2026-04-07T17:31:02.816Z","updated_at":"2026-04-07T17:31:03.269Z","avatar_url":"https://github.com/nurulhudaapon.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Zig ZON › zzon\n\n\u003cp align=\"center\"\u003e\n \u003cimg alt=\"zzon logo\" src=\"https://raw.githubusercontent.com/nurulhudaapon/zzon/refs/heads/main/asset/zzon.svg\" width=\"350\" /\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.npmjs.com/package/zzon\"\u003e\u003cimg alt=\"npm\" src=\"https://img.shields.io/npm/v/zzon.svg?style=flat-square\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/nurulhudaapon/zzon/actions/workflows/release.yml\"\u003e\u003cimg alt=\"Build status\" src=\"https://img.shields.io/github/actions/workflow/status/nurulhudaapon/zzon/release.yml?style=flat-square\u0026branch=main\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\nA fast, spec-compliant ZON parser and serializer for JavaScript.\n\n\n[ZON](https://github.com/ziglang/zig/pull/20271) is a compact, human-readable, and easy-to-parse data format from the Zig programming language that is similar to JSON in JavaScript.\n\n\nThe API is similar to the native [`JSON` API](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON).\n\n[Try it in the Playground](https://zzon.nuhu.dev)\n\n## Installation\n\n```bash\nnpm install zzon\n```\n\n## Usage\n\n#### Stringify\n\n```ts id=\"stringify\"\nimport { ZON } from 'zzon';\n\nconst zon = ZON.stringify({\"a\":1,\"b\":\"abc\",\"c\":true});\nconsole.log(zon); // .{.a=1,.b=\"abc\",.c=true}\n```\n\n#### Parse\n\n```ts id=\"parse\"\nimport { ZON } from 'zzon';\n\nconst json = ZON.parse(`.{.a=1,.b=\"abc\",.c=true}`);\nconsole.log(json); // {\"a\":1,\"b\":\"abc\",\"c\":true}\n```\n\n## [Playground](https://zzon.nuhu.dev)\n\n\n![zzon playground demo](https://raw.githubusercontent.com/nurulhudaapon/zzon/refs/heads/main/asset/playground.gif)\n\n## Benchmarks\n\nPerformance comparison between ZON and JSON (source: [test/index.test.ts](test/index.test.ts)):\n\n| Operation | JSON | ZON | Difference |\n|-----------|------|-----|------------|\n| Parse | 430.80 MB/s | 38.66 MB/s | 11.04x slower |\n| Stringify | 454.94 MB/s | 87.43 MB/s | 5.15x slower |\n\nHardware: Apple M1 Pro  \nPlatform: darwin 25.0.0 (arm64)\n\n*Last updated: 2025-10-24T03:55:48.380Z*\n## Example Usage\n\n- [Browser](./example/browser)\n- [Bun](./example/bun)\n\n## License\n\n[MIT](https://github.com/nurulhudaapon/zzon/blob/main/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnurulhudaapon%2Fzzon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnurulhudaapon%2Fzzon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnurulhudaapon%2Fzzon/lists"}