{"id":36541500,"url":"https://github.com/acorcutt/jxo","last_synced_at":"2026-01-12T05:47:22.038Z","repository":{"id":57287789,"uuid":"421993033","full_name":"acorcutt/jxo","owner":"acorcutt","description":"Make almost any JavaScript Object JSON safe.","archived":false,"fork":false,"pushed_at":"2021-10-30T15:50:39.000Z","size":83,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-07T23:25:30.451Z","etag":null,"topics":["javascript","json","object","stringify"],"latest_commit_sha":null,"homepage":"","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/acorcutt.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}},"created_at":"2021-10-27T22:36:16.000Z","updated_at":"2021-10-30T15:50:42.000Z","dependencies_parsed_at":"2022-09-17T03:20:32.467Z","dependency_job_id":null,"html_url":"https://github.com/acorcutt/jxo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/acorcutt/jxo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acorcutt%2Fjxo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acorcutt%2Fjxo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acorcutt%2Fjxo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acorcutt%2Fjxo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/acorcutt","download_url":"https://codeload.github.com/acorcutt/jxo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acorcutt%2Fjxo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28335255,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T00:36:25.062Z","status":"online","status_checked_at":"2026-01-12T02:00:08.677Z","response_time":98,"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":["javascript","json","object","stringify"],"created_at":"2026-01-12T05:47:21.425Z","updated_at":"2026-01-12T05:47:22.031Z","avatar_url":"https://github.com/acorcutt.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JxO\n\nMake almost any JavaScript Object JSON safe for use with JSON.stringify and JSON.parse. With support for circular references, Maps, Sets, Typed Arrays, Symbols and custom types.\n\n## Installation\n\n```\nnpm install jxo\npnpm add jxo\nyarn add jxo\n```\n\n## Basic Usage\n\nUse as a replacement for JSON.stringify and JSON.parse\n\n```javascript\nimport { JxO } from 'jxo';\n\nconst JXO = new JxO();\n\nconst obj = {\n  supports: new Set([NaN, Infinity, undefined, new Date(), new Map([['and', 'more']])]),\n};\nobj.self = obj;\n\nconst str = JXO.stringify(obj);\n\nconst res = JXO.parse(str);\n\n```\n\n## Examples\n\nSee [test.js](test.js) for more examples.\n\n---\n\n## TODO\n\n- [ ] Better instructions\n- [ ] More examples\n- [ ] Better fallback handing with customisation\n- [ ] Validate the custom types\n- [ ] Encoders for typed arrays\n- [ ] Buffers\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facorcutt%2Fjxo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Facorcutt%2Fjxo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facorcutt%2Fjxo/lists"}