{"id":15530321,"url":"https://github.com/mikroskeem/react-devtools-disable","last_synced_at":"2026-04-28T13:33:55.821Z","repository":{"id":77663790,"uuid":"207734070","full_name":"mikroskeem/react-devtools-disable","owner":"mikroskeem","description":"This module provides an easy way to disable React Devtools browser extension in the production environment","archived":false,"fork":false,"pushed_at":"2019-09-11T06:16:56.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T21:43:49.073Z","etag":null,"topics":["devtools","disable","react","react-devtools-disable"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mikroskeem.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-09-11T05:55:29.000Z","updated_at":"2019-10-26T15:42:40.000Z","dependencies_parsed_at":"2023-02-27T15:15:42.945Z","dependency_job_id":null,"html_url":"https://github.com/mikroskeem/react-devtools-disable","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mikroskeem/react-devtools-disable","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikroskeem%2Freact-devtools-disable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikroskeem%2Freact-devtools-disable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikroskeem%2Freact-devtools-disable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikroskeem%2Freact-devtools-disable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mikroskeem","download_url":"https://codeload.github.com/mikroskeem/react-devtools-disable/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikroskeem%2Freact-devtools-disable/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263013712,"owners_count":23399813,"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":["devtools","disable","react","react-devtools-disable"],"created_at":"2024-10-02T11:21:59.016Z","updated_at":"2026-04-28T13:33:50.797Z","avatar_url":"https://github.com/mikroskeem.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Devtools disable(r)\n\nThis module provides an easy way to disable React Devtools browser extension in the production environment\n\n## Usage\n```javascript\nimport { disableDevToolsWhen } from 'react-devtools-disable';\nimport { isProdMode } from 'whatever'; // function\n\ndisableDevToolsWhen(isProdMode);\nReactDOM.render(..., ...);\n```\n\nor\n\n```javascript\nimport { disableDevTools } from 'react-devtools-disable';\n\nif (window.location.port !== 443) {\n    disableDevTools();\n}\nReactDOM.render(..., ...);\n```\n\n## License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikroskeem%2Freact-devtools-disable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmikroskeem%2Freact-devtools-disable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikroskeem%2Freact-devtools-disable/lists"}