{"id":22222116,"url":"https://github.com/fabiospampinato/json-sorted-stringify","last_synced_at":"2025-07-27T16:32:47.314Z","repository":{"id":65949596,"uuid":"603244675","full_name":"fabiospampinato/json-sorted-stringify","owner":"fabiospampinato","description":"Alternative JSON.stringify function with sorted keys, so the output is stable.","archived":false,"fork":false,"pushed_at":"2025-01-18T00:11:57.000Z","size":7,"stargazers_count":13,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-25T12:06:52.362Z","etag":null,"topics":["json","sorted","stable","stringify"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/fabiospampinato.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}},"created_at":"2023-02-17T23:35:18.000Z","updated_at":"2025-01-18T00:11:59.000Z","dependencies_parsed_at":"2024-02-25T14:28:42.158Z","dependency_job_id":"d11e1426-db90-4798-b4ae-bf23d833e584","html_url":"https://github.com/fabiospampinato/json-sorted-stringify","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"4d3dcadf30f503417f8f42224958eb709979fd9d"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/fabiospampinato/json-sorted-stringify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiospampinato%2Fjson-sorted-stringify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiospampinato%2Fjson-sorted-stringify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiospampinato%2Fjson-sorted-stringify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiospampinato%2Fjson-sorted-stringify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fabiospampinato","download_url":"https://codeload.github.com/fabiospampinato/json-sorted-stringify/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiospampinato%2Fjson-sorted-stringify/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267387081,"owners_count":24079174,"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-07-27T02:00:11.917Z","response_time":82,"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":["json","sorted","stable","stringify"],"created_at":"2024-12-02T23:16:59.485Z","updated_at":"2025-07-27T16:32:47.309Z","avatar_url":"https://github.com/fabiospampinato.png","language":"JavaScript","readme":"# JSON Sorted Stringify\n\nAlternative `JSON.stringify` function with sorted keys, so the output is stable.\n\n## Install\n\n```sh\nnpm install json-sorted-stringify\n```\n\n## Usage\n\n```ts\nimport stringify from 'json-sorted-stringify';\n\n// Let's stringify in a sorted/stable manner\n\nstringify ({ a: 1, b: 2 }); // =\u003e '{\"a\":1,\"b\":2}'\nstringify ({ b: 2, a: 1 }); // =\u003e '{\"a\":1,\"b\":2}'\n```\n\n## License\n\nMIT © Fabio Spampinato\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabiospampinato%2Fjson-sorted-stringify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffabiospampinato%2Fjson-sorted-stringify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabiospampinato%2Fjson-sorted-stringify/lists"}