{"id":38588949,"url":"https://github.com/stordco/msw-toolbar","last_synced_at":"2026-01-17T08:22:36.234Z","repository":{"id":39742268,"uuid":"409072796","full_name":"stordco/msw-toolbar","owner":"stordco","description":"A simple utility to make your MSW experience a little bit better.","archived":false,"fork":false,"pushed_at":"2024-04-05T18:35:18.000Z","size":469,"stargazers_count":6,"open_issues_count":4,"forks_count":0,"subscribers_count":35,"default_branch":"main","last_synced_at":"2025-10-20T06:58:37.121Z","etag":null,"topics":["dx","hacktoberfest","msw","testing","toolbar","typescript"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@stordco/msw-toolbar","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/stordco.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","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":"2021-09-22T05:15:06.000Z","updated_at":"2024-03-27T11:15:29.000Z","dependencies_parsed_at":"2024-10-22T18:28:32.356Z","dependency_job_id":null,"html_url":"https://github.com/stordco/msw-toolbar","commit_stats":{"total_commits":29,"total_committers":8,"mean_commits":3.625,"dds":0.3448275862068966,"last_synced_commit":"871499e343de9d76f13aed718cda7712d5c50656"},"previous_names":["stordco/msw-chakra-toolbar"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/stordco/msw-toolbar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stordco%2Fmsw-toolbar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stordco%2Fmsw-toolbar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stordco%2Fmsw-toolbar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stordco%2Fmsw-toolbar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stordco","download_url":"https://codeload.github.com/stordco/msw-toolbar/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stordco%2Fmsw-toolbar/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28504363,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T06:57:29.758Z","status":"ssl_error","status_checked_at":"2026-01-17T06:56:03.931Z","response_time":85,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["dx","hacktoberfest","msw","testing","toolbar","typescript"],"created_at":"2026-01-17T08:22:35.569Z","updated_at":"2026-01-17T08:22:36.216Z","avatar_url":"https://github.com/stordco.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MSW Toolbar\n\nA simple utility to make your MSW experience a little bit better.\n\n### Requirements\n\n- [msw](https://github.com/mswjs/msw)\n\n### Usage\n\nThere are two primary ways to use this component:\n\n1. As a wrapper around your entire app\n\n   1. When you structure things like the below, you guarantee that _all requests_ will be intercepted because `children` will not be rendered until the worker has successfully started.\n\n   ```jsx\n   \u003cMSWToolbar {...props}\u003e\n     \u003cYourApp /\u003e\n   \u003c/MSWToolbar\u003e\n   ```\n\n2. As a regular component in the tree\n   1. When you do this, all requests _should be intercepted_, but it's not guaranteed because there can be timing issues with the service worker registration.\n   ```jsx\n   \u003cYourApp\u003e\n     \u003cMSWToolbar {...props} /\u003e\n     \u003cHeader /\u003e\n     \u003cContent /\u003e\n     \u003cFooter /\u003e\n   \u003c/YourApp\u003e\n   ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstordco%2Fmsw-toolbar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstordco%2Fmsw-toolbar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstordco%2Fmsw-toolbar/lists"}