{"id":15118321,"url":"https://github.com/bufbuild/jest-environment-jsdom","last_synced_at":"2025-10-07T13:06:54.950Z","repository":{"id":188340584,"uuid":"677075288","full_name":"bufbuild/jest-environment-jsdom","owner":"bufbuild","description":"A modern jsdom test environment for Jest","archived":false,"fork":false,"pushed_at":"2025-09-01T14:48:04.000Z","size":1063,"stargazers_count":5,"open_issues_count":5,"forks_count":0,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-09-23T16:39:35.651Z","etag":null,"topics":["jest","jest-environment-jsdom","jsdom"],"latest_commit_sha":null,"homepage":"https://buf.build","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bufbuild.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","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-08-10T17:15:51.000Z","updated_at":"2025-09-08T05:43:01.000Z","dependencies_parsed_at":"2024-04-01T14:30:51.955Z","dependency_job_id":"ad7bcbcc-f695-4a9c-9773-6635271aab99","html_url":"https://github.com/bufbuild/jest-environment-jsdom","commit_stats":null,"previous_names":["bufbuild/jest-environment-jsdom"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/bufbuild/jest-environment-jsdom","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bufbuild%2Fjest-environment-jsdom","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bufbuild%2Fjest-environment-jsdom/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bufbuild%2Fjest-environment-jsdom/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bufbuild%2Fjest-environment-jsdom/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bufbuild","download_url":"https://codeload.github.com/bufbuild/jest-environment-jsdom/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bufbuild%2Fjest-environment-jsdom/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278778974,"owners_count":26044259,"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-10-07T02:00:06.786Z","response_time":59,"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":["jest","jest-environment-jsdom","jsdom"],"created_at":"2024-09-26T01:46:13.242Z","updated_at":"2025-10-07T13:06:54.920Z","avatar_url":"https://github.com/bufbuild.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"![The Buf logo](./.github/buf-logo.svg)\n\njest-environment-jsdom\n===========\n\n[![License](https://img.shields.io/github/license/bufbuild/jest-environment-jsdom?color=blue)](./LICENSE) [![Build](https://github.com/bufbuild/jest-environment-jsdom/actions/workflows/ci.yaml/badge.svg?branch=main)](https://github.com/bufbuild/jest-environment-jsdom/actions/workflows/ci.yaml) [![NPM Version](https://img.shields.io/npm/v/@bufbuild/jest-environment-jsdom/latest?color=green\u0026label=%40bufbuild%2Fjest-environment-jsdom)](https://www.npmjs.com/package/@bufbuild/jest-environment-jsdom)\n\nAn extension of [jest-environment-jsdom](https://www.npmjs.com/package/jest-environment-jsdom)\nwith support for the [Encoding API](https://developer.mozilla.org/en-US/docs/Web/API/Encoding_API).\n\n## Installation\n\nNote that `jest-environment-jsdom` is still required as a peer dependency:\n\n```bash\nnpm install --save-dev jest-environment-jsdom @bufbuild/jest-environment-jsdom\n```\n\n## Usage\n\nUpdate the `testEnvironment` property of your Jest config like so:\n\n```diff\nimport type { Config } from 'jest';\n\nconst config: Config = {\n- testEnvironment: 'jsdom',\n+ testEnvironment: '@bufbuild/jest-environment-jsdom',\n...\n};\n```\n\nFull documentation can be found in the package [README](packages/jest-environment-jsdom).\n\n## Packages\n\n- [@bufbuild/jest-environment-jsdom](https://www.npmjs.com/package/@bufbuild/jest-environment-jsdom):\n  Jest test environment with support for the Encoding API.\n\n## Status: Beta\n\nThis project is in beta, which means we may make a few changes as we gather feedback from early adopters.\nJoin us on [Slack](https://buf.build/links/slack) to stay updated on future releases.\n\n## Legal\n\nOffered under the [Apache 2 license](./LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbufbuild%2Fjest-environment-jsdom","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbufbuild%2Fjest-environment-jsdom","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbufbuild%2Fjest-environment-jsdom/lists"}