{"id":13769504,"url":"https://github.com/keplersj/jest-serializer-json-ld-script","last_synced_at":"2026-02-25T13:37:11.016Z","repository":{"id":35065455,"uuid":"200909204","full_name":"keplersj/jest-serializer-json-ld-script","owner":"keplersj","description":"Serializer to correctly display JSON-LD objects in Jest snapshots","archived":false,"fork":false,"pushed_at":"2024-06-18T02:27:38.000Z","size":2705,"stargazers_count":0,"open_issues_count":12,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-17T22:30:10.656Z","etag":null,"topics":["jest","jest-serializer","jest-snapshots","json-ld","react","react-helmet","seo","snapshot-testing","unit-testing"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/keplersj.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,"publiccode":null,"codemeta":null}},"created_at":"2019-08-06T19:07:19.000Z","updated_at":"2021-08-03T19:26:06.000Z","dependencies_parsed_at":"2024-08-03T17:12:23.998Z","dependency_job_id":null,"html_url":"https://github.com/keplersj/jest-serializer-json-ld-script","commit_stats":{"total_commits":657,"total_committers":3,"mean_commits":219.0,"dds":"0.028919330289193357","last_synced_commit":"c4bb8c17e69c12294baa7c39ae11d58feb328564"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keplersj%2Fjest-serializer-json-ld-script","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keplersj%2Fjest-serializer-json-ld-script/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keplersj%2Fjest-serializer-json-ld-script/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keplersj%2Fjest-serializer-json-ld-script/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/keplersj","download_url":"https://codeload.github.com/keplersj/jest-serializer-json-ld-script/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253970243,"owners_count":21992455,"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":["jest","jest-serializer","jest-snapshots","json-ld","react","react-helmet","seo","snapshot-testing","unit-testing"],"created_at":"2024-08-03T17:00:27.322Z","updated_at":"2025-10-30T07:05:37.241Z","avatar_url":"https://github.com/keplersj.png","language":"TypeScript","funding_links":[],"categories":["Packages"],"sub_categories":["Snapshot"],"readme":"# jest-serializer-json-ld-script\n\n[![Build Status](https://travis-ci.org/keplersj/jest-serializer-json-ld-script.svg?branch=master)](https://travis-ci.org/keplersj/jest-serializer-json-ld-script)\n[![npm version](https://badge.fury.io/js/jest-serializer-json-ld-script.svg)](https://badge.fury.io/js/jest-serializer-json-ld-script)\n[![Code Coverage](https://codecov.io/gh/keplersj/jest-serializer-json-ld-script/branch/master/graph/badge.svg)](https://codecov.io/gh/keplersj/jest-serializer-json-ld-script)\n[![Mentioned in Awesome Jest](https://awesome.re/mentioned-badge.svg)](https://github.com/jest-community/awesome-jest)\n\nJest Snapshot serializer to better visualize React `\u003cscript\u003e` elements containing LD+JSON data.\n\n## Installation\n\nInstall preset using npm:\n\n```shell\nnpm install --save-dev jest-serializer-json-ld-script\n```\n\nor yarn:\n\n```shell\nyarn add --dev jest-serializer-json-ld-script\n```\n\n## Usage\n\nConfigure Jest to use the serializer in `jest.config.js`:\n\n```js\nmodule.exports = {\n  snapshotSerializers: [\"jest-serializer-json-ld-script\"]\n};\n```\n\nor `package.json`:\n\n```json\n{\n  \"jest\": {\n    \"snapshotSerializers\": [\"jest-serializer-json-ld-script\"]\n  }\n}\n```\n\n## Related Packages\n\n- [`jest-runner-prettier`](https://github.com/keplersj/jest-runner-prettier) - Use Jest to check your codebase against `prettier`\n- [`jest-preset-gatsby`](https://github.com/keplersj/jest-preset-gatsby) - Jest preset to ease unit testing a Gatsby project\n- [`jest-serializer-react-helmet`](https://github.com/keplersj/jest-serializer-react-helmet) - Jest snapshot serializer to include React Helmet side effects in snapshots\n- [`jest-raw-loader`](https://github.com/keplersj/jest-raw-loader) - Load the raw content of files in Jest, replicating the behavior of `webpack`'s `raw-loader`\n\n## License\n\nCopyright 2019 Kepler Sticka-Jones. Licensed ISC\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeplersj%2Fjest-serializer-json-ld-script","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkeplersj%2Fjest-serializer-json-ld-script","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeplersj%2Fjest-serializer-json-ld-script/lists"}