{"id":13725377,"url":"https://github.com/testing-library/user-event","last_synced_at":"2025-05-13T17:03:50.930Z","repository":{"id":37910711,"uuid":"149638165","full_name":"testing-library/user-event","owner":"testing-library","description":"🐕 Simulate user events","archived":false,"fork":false,"pushed_at":"2025-02-05T08:30:02.000Z","size":2758,"stargazers_count":2250,"open_issues_count":106,"forks_count":250,"subscribers_count":18,"default_branch":"main","last_synced_at":"2025-05-05T22:53:07.687Z","etag":null,"topics":["dom","frontend","javascript","testing","ui","user-interaction"],"latest_commit_sha":null,"homepage":"https://testing-library.com/user-event","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/testing-library.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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":"2018-09-20T16:23:35.000Z","updated_at":"2025-05-02T11:11:19.000Z","dependencies_parsed_at":"2023-02-04T09:45:22.953Z","dependency_job_id":"c0c0671b-fdee-426d-93c3-8fa68eda7a8e","html_url":"https://github.com/testing-library/user-event","commit_stats":{"total_commits":668,"total_committers":101,"mean_commits":"6.6138613861386135","dds":0.7200598802395209,"last_synced_commit":"7bba3c0879091d26feb7a712e86f4e7c1adce921"},"previous_names":[],"tags_count":231,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testing-library%2Fuser-event","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testing-library%2Fuser-event/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testing-library%2Fuser-event/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testing-library%2Fuser-event/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/testing-library","download_url":"https://codeload.github.com/testing-library/user-event/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252590532,"owners_count":21772935,"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":["dom","frontend","javascript","testing","ui","user-interaction"],"created_at":"2024-08-03T01:02:21.053Z","updated_at":"2025-05-05T22:53:17.004Z","avatar_url":"https://github.com/testing-library.png","language":"TypeScript","readme":"\u003cdiv align=\"center\"\u003e\n\u003ch1\u003euser-event\u003c/h1\u003e\n\n\u003ca href=\"https://www.joypixels.com/profiles/emoji/1f415\"\u003e\n  \u003cimg\n    height=\"80\"\n    width=\"80\"\n    alt=\"dog\"\n    src=\"https://raw.githubusercontent.com/testing-library/user-event/main/other/dog.png\"\n  /\u003e\n\u003c/a\u003e\n\n\u003cp\u003eFire events the same way the user does\u003c/p\u003e\n\n\u003cbr /\u003e\n\n[**Read The Docs**](https://testing-library.com/docs/user-event/intro)\n\n\u003cbr /\u003e\n\u003c/div\u003e\n\n---\n\n\u003c!-- prettier-ignore-start --\u003e\n[![Build Status][build-badge]][build]\n[![Code Coverage][coverage-badge]][coverage]\n[![version][version-badge]][package]\n[![downloads][downloads-badge]][npmtrends]\n[![MIT License][license-badge]][license]\n[![All Contributors][all-contributors-badge]](#contributors)\n[![PRs Welcome][prs-badge]][prs]\n[![Code of Conduct][coc-badge]][coc]\n[![Discord][discord-badge]][discord]\n\n[![Watch on GitHub][github-watch-badge]][github-watch]\n[![Star on GitHub][github-star-badge]][github-star]\n[![Tweet][twitter-badge]][twitter]\n\u003c!-- prettier-ignore-end --\u003e\n\n## The problem\n\nFrom\n[testing-library/dom-testing-library#107](https://github.com/testing-library/dom-testing-library/issues/107):\n\n\u003e [...] it is becoming apparent the need to express user actions on a web page\n\u003e using a higher-level abstraction than [`fireEvent`][fire-event]\n\n## The solution\n\n`user-event` tries to simulate the real events that would happen in the browser\nas the user interacts with it. For example `userEvent.click(checkbox)` would\nchange the state of the checkbox.\n\n\u003e [The more your tests resemble the way your software is used, the more\n\u003e confidence they can give you.][guiding-principle]\n\n## Issues\n\nLooking to contribute? Look for the [Good First Issue][good-first-issue] label.\n\n### 🐛 Bugs\n\nPlease file an issue for bugs, missing documentation, or unexpected behavior.\n\n[**See Bugs**][bugs]\n\n### 💡 Feature Requests\n\nPlease file an issue to suggest new features. Vote on feature requests by adding\na 👍. This helps maintainers prioritize what to work on.\n\n[**See Feature Requests**][requests]\n\n### ❓ Questions\n\nFor questions related to using the library, please visit a support community\ninstead of filing an issue on GitHub.\n\n- [Discord][discord]\n- [Stack Overflow][stackoverflow]\n\n## Contributors\n\nWe most sincerely thank [the people who make this project\npossible][contributors]. Contributions of any kind are welcome! 💚\n\n## License\n\n[MIT](LICENSE)\n\n\u003c!-- prettier-ignore-start --\u003e\n[npm]: https://www.npmjs.com\n[node]: https://nodejs.org\n[build-badge]: https://img.shields.io/github/workflow/status/testing-library/user-event/validate/main?logo=github\u0026style=flat-square\n[build]: https://github.com/testing-library/user-event/actions?query=workflow%3Avalidate\n[coverage-badge]: https://img.shields.io/codecov/c/github/testing-library/user-event.svg?style=flat-square\n[coverage]: https://codecov.io/github/testing-library/user-event\n[version-badge]: https://img.shields.io/npm/v/@testing-library/user-event.svg?style=flat-square\n[package]: https://www.npmjs.com/package/@testing-library/user-event\n[downloads-badge]: https://img.shields.io/npm/dm/@testing-library/user-event.svg?style=flat-square\n[npmtrends]: http://www.npmtrends.com/@testing-library/user-event\n[license-badge]: https://img.shields.io/npm/l/@testing-library/user-event.svg?style=flat-square\n[license]: https://github.com/testing-library/user-event/blob/main/LICENSE\n[prs-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square\n[prs]: http://makeapullrequest.com\n[coc-badge]: https://img.shields.io/badge/code%20of-conduct-ff69b4.svg?style=flat-square\n[coc]: https://github.com/testing-library/.github/blob/main/CODE_OF_CONDUCT.md\n[github-watch-badge]: https://img.shields.io/github/watchers/testing-library/user-event.svg?style=social\n[github-watch]: https://github.com/testing-library/user-event/watchers\n[github-star-badge]: https://img.shields.io/github/stars/testing-library/user-event.svg?style=social\n[github-star]: https://github.com/testing-library/user-event/stargazers\n[twitter]: https://twitter.com/intent/tweet?text=Check%20out%20user-event%20by%20%40@TestingLib%20https%3A%2F%2Fgithub.com%2Ftesting-library%2Fuser-event%20%F0%9F%91%8D\n[twitter-badge]: https://img.shields.io/twitter/url/https/github.com/testing-library/user-event.svg?style=social\n[all-contributors-badge]: https://img.shields.io/github/all-contributors/testing-library/user-event?color=orange\u0026style=flat-square\n[guiding-principle]: https://twitter.com/kentcdodds/status/977018512689455106\n[bugs]: https://github.com/testing-library/user-event/issues?utf8=%E2%9C%93\u0026q=is%3Aissue+is%3Aopen+sort%3Acreated-desc+label%3Abug\n[requests]: https://github.com/testing-library/user-event/issues?utf8=%E2%9C%93\u0026q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc+label%3Aenhancement\n[good-first-issue]: https://github.com/testing-library/user-event/issues?utf8=%E2%9C%93\u0026q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc+label%3Aenhancement+label%3A%22good+first+issue%22\n[fire-event]: https://testing-library.com/docs/dom-testing-library/api-events#fireevent\n[discord-badge]: https://img.shields.io/discord/723559267868737556.svg?color=7389D8\u0026labelColor=6A7EC2\u0026logo=discord\u0026logoColor=ffffff\u0026style=flat-square\n[discord]: https://discord.gg/testing-library\n[stackoverflow]: https://stackoverflow.com/questions/tagged/user-event\n[contributors]: https://github.com/testing-library/user-event/blob/main/CONTRIBUTORS.md\n\u003c!-- prettier-ignore-end --\u003e\n","funding_links":[],"categories":["JavaScript","TypeScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftesting-library%2Fuser-event","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftesting-library%2Fuser-event","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftesting-library%2Fuser-event/lists"}