{"id":15011731,"url":"https://github.com/preactjs/preact-devtools","last_synced_at":"2025-05-16T05:04:51.239Z","repository":{"id":37580189,"uuid":"203441876","full_name":"preactjs/preact-devtools","owner":"preactjs","description":"Browser extension for inspection Preact applications","archived":false,"fork":false,"pushed_at":"2025-03-28T11:24:22.000Z","size":5737,"stargazers_count":328,"open_issues_count":28,"forks_count":30,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-05-08T04:03:37.155Z","etag":null,"topics":["chrome","extension","firefox","preact","preact-devtools"],"latest_commit_sha":null,"homepage":"https://preactjs.github.io/preact-devtools/","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/preactjs.png","metadata":{"funding":{"github":["preactjs"],"open_collective":"preact"},"files":{"readme":"README.md","changelog":"CHANGELOG.md","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-20T19:32:38.000Z","updated_at":"2025-05-06T21:33:03.000Z","dependencies_parsed_at":"2024-04-17T02:00:55.058Z","dependency_job_id":"872870be-773f-4d15-a5e3-92da2db56172","html_url":"https://github.com/preactjs/preact-devtools","commit_stats":{"total_commits":1144,"total_committers":18,"mean_commits":63.55555555555556,"dds":0.05856643356643354,"last_synced_commit":"e74468faf45deaca5d7051e508bb2f6567d733af"},"previous_names":["marvinhagemeister/preact-devtools"],"tags_count":48,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/preactjs%2Fpreact-devtools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/preactjs%2Fpreact-devtools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/preactjs%2Fpreact-devtools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/preactjs%2Fpreact-devtools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/preactjs","download_url":"https://codeload.github.com/preactjs/preact-devtools/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254471060,"owners_count":22076585,"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":["chrome","extension","firefox","preact","preact-devtools"],"created_at":"2024-09-24T19:41:34.500Z","updated_at":"2025-05-16T05:04:51.209Z","avatar_url":"https://github.com/preactjs.png","language":"TypeScript","funding_links":["https://github.com/sponsors/preactjs","https://opencollective.com/preact"],"categories":[],"sub_categories":[],"readme":"# Preact Devtools\n\nBrowser extension that allows you to inspect a Preact component hierarchy,\nincluding props and state.\n\n**Requires Preact \u003e=10.1.0**\n\n![Screenshot of Preact devtools](media/preact-chrome-light.png)\n\n## Usage\n\nFirstly, we need to import `preact/debug` somewhere to initialize the connection\nto the extension. Make sure that this import is **the first** import in your\nwhole app.\n\n```javascript\n// Must be the first import\nimport \"preact/debug\";\n\n// Or if you just want the devtools bridge (~240B) without other\n// debug code (useful for production sites)\nimport \"preact/devtools\";\n```\n\nThen, download the Preact Devtools extension for your browser:\n\n- [Firefox](https://addons.mozilla.org/en-US/firefox/addon/preact-devtools/)\n- [Chrome](https://chrome.google.com/webstore/detail/preact-developer-tools/ilcajpmogmhpliinlbcdebhbcanbghmd)\n- [Edge](https://microsoftedge.microsoft.com/addons/detail/hdkhobcafnfejjieimdkmjaiihkjpmhk)\n\n## Contributing\n\n- Use `npm run dev` to start a demo page\n- Use `npm run watch` to rebuild all extensions on any code changes\n- Use `npm run build:firefox` or `npm run build:chrome` to create a release build\n\nChrome:\n\n1. Go to extensions page\n2. Enable developer mode\n3. Click \"Load unpacked\"\n4. Select `dist/chrome/` folder\n\nFirefox:\n\n1. Go to addons page\n2. Click the settings icon\n3. Select \"Debug addons\"\n4. Click \"Load temporary addon\"\n5. Select the `manifest.json` in `dist/firefox/`\n\n## For extension reviewers\n\nThese commands will build the extension and load it into a browser with a temporary profile. The browser will automatically navigate to [preactjs.com](https://preactjs.com). There you can test the extension.\n\nChrome:\n\n1. Execute `npm run run:chrome`\n2. Click on `Preact` tab in devtools\n\nFirefox:\n\n1. Exectue `npm run run:firefox`\n2. Open devtools + click on `Preact` tab in devtools\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpreactjs%2Fpreact-devtools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpreactjs%2Fpreact-devtools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpreactjs%2Fpreact-devtools/lists"}