{"id":15284278,"url":"https://github.com/doczilla-app/to-match-pdf-snapshot","last_synced_at":"2026-02-09T18:04:12.227Z","repository":{"id":214383138,"uuid":"736390259","full_name":"Doczilla-APP/to-match-pdf-snapshot","owner":"Doczilla-APP","description":"Test visual regression of PDFs in Playwright.","archived":false,"fork":false,"pushed_at":"2025-02-03T19:38:15.000Z","size":3209,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-04-12T23:25:48.262Z","etag":null,"topics":["pdf-snapshot","playwright"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/Doczilla-APP.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,"zenodo":null}},"created_at":"2023-12-27T19:14:21.000Z","updated_at":"2025-03-10T10:29:40.000Z","dependencies_parsed_at":"2024-10-14T14:41:49.303Z","dependency_job_id":"e0fb8485-15fc-4f8c-bbd2-c72b3823a33c","html_url":"https://github.com/Doczilla-APP/to-match-pdf-snapshot","commit_stats":null,"previous_names":["doczilla-app/to-match-pdf-snapshot"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/Doczilla-APP/to-match-pdf-snapshot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Doczilla-APP%2Fto-match-pdf-snapshot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Doczilla-APP%2Fto-match-pdf-snapshot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Doczilla-APP%2Fto-match-pdf-snapshot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Doczilla-APP%2Fto-match-pdf-snapshot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Doczilla-APP","download_url":"https://codeload.github.com/Doczilla-APP/to-match-pdf-snapshot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Doczilla-APP%2Fto-match-pdf-snapshot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264504616,"owners_count":23618831,"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":["pdf-snapshot","playwright"],"created_at":"2024-09-30T14:52:34.115Z","updated_at":"2026-02-09T18:04:09.951Z","avatar_url":"https://github.com/Doczilla-APP.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# toMatchPdfSnapshot\n\nTest visual regression of PDFs in Playwright. The library utilizes pdf.js to convert PDF files to PNG format.\n\n## Installation\n\nInstall the package with:\n\n```sh\nnpm install to-match-pdf-snapshot\n# or\nyarn add to-match-pdf-snapshot\n```\n\n### Usage in Playwright\n\nAdd the following line to your `playwright.config.ts`\n\n```ts\nimport 'to-match-pdf-snapshot/playwright'\n```\n\nFor typescript users, add `node_modules/to-match-pdf-snapshot/dist/playwright` to your `tsconfig.json` types.\n\n\n### Thanks\nThis library draws inspiration from [moshensky/pdf-visual-diff](https://github.com/moshensky/pdf-visual-diff). The key distinction lies in its exclusivity to Playwright, making the setup more straightforward compared to the mentioned library.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoczilla-app%2Fto-match-pdf-snapshot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdoczilla-app%2Fto-match-pdf-snapshot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoczilla-app%2Fto-match-pdf-snapshot/lists"}