{"id":23283773,"url":"https://github.com/pank1999/find-json-difference","last_synced_at":"2025-04-06T14:47:29.268Z","repository":{"id":242190898,"uuid":"808927598","full_name":"pank1999/find-json-difference","owner":"pank1999","description":"Json difference between two objects in proper format","archived":false,"fork":false,"pushed_at":"2024-06-08T09:02:03.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-29T11:52:11.096Z","etag":null,"topics":["json","jvascript","package"],"latest_commit_sha":null,"homepage":"","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/pank1999.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}},"created_at":"2024-06-01T07:21:50.000Z","updated_at":"2024-06-08T09:02:06.000Z","dependencies_parsed_at":"2024-06-01T08:39:13.219Z","dependency_job_id":"5ae9ffa5-42d1-4165-bfe5-fe9905a4fef6","html_url":"https://github.com/pank1999/find-json-difference","commit_stats":null,"previous_names":["pank1999/find-json-difference"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pank1999%2Ffind-json-difference","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pank1999%2Ffind-json-difference/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pank1999%2Ffind-json-difference/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pank1999%2Ffind-json-difference/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pank1999","download_url":"https://codeload.github.com/pank1999/find-json-difference/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247500454,"owners_count":20948878,"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","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","jvascript","package"],"created_at":"2024-12-20T01:32:42.020Z","updated_at":"2025-04-06T14:47:29.233Z","avatar_url":"https://github.com/pank1999.png","language":"TypeScript","readme":"# find-json-difference\nCalculates the difference between two JSON objects.\n\n\n```js\nconst {jsonDiff} = require('find-json-difference');\n```\n\nor \n\n```ts\nimport {jsonDiff} from \"find-json-difference\"\n```\n\n```js\nconst json1 = {\n    name: 'John Doe',\n    age: 30,\n    address: {\n        street: '123 Main St',\n        city: 'New York',\n        state: 'NY'\n    }\n};\n\nconst json2 = {\n    name: 'John Doe',\n    age: 35,\n    address: {\n        street: '123 Main St',\n        city: 'Los Angeles',\n        state: 'CA'\n    },\n    occupation: 'Software Engineer'\n};\n\nconst differences = jsonDiff(json1, json2);\n\nconsole.log(differences);\n/* output : {\n  added: { occupation: 'Software Engineer' },\n  deleted: {},\n  edited: { age: [ 30, 35 ], address: [ [Object], [Object] ] }\n}*/\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpank1999%2Ffind-json-difference","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpank1999%2Ffind-json-difference","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpank1999%2Ffind-json-difference/lists"}