{"id":30204419,"url":"https://github.com/christophhu/ngx-debug-mode","last_synced_at":"2026-01-20T16:32:04.035Z","repository":{"id":119361614,"uuid":"567633569","full_name":"ChristophHu/ngx-debug-mode","owner":"ChristophHu","description":"The ngx-debug-mode repostory is a demo application of the ngx-debug-mode library. The library adds a simple toggle-component. So you can switch to hide or show all elements in your application.","archived":false,"fork":false,"pushed_at":"2025-07-28T16:09:48.000Z","size":523,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-18T09:39:58.271Z","etag":null,"topics":["angular","debug","debugmode","demo","localstorage","ngx"],"latest_commit_sha":null,"homepage":"https://christophhu.github.io/ngx-debug-mode","language":"Sass","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/ChristophHu.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"zenodo":null}},"created_at":"2022-11-18T08:08:26.000Z","updated_at":"2025-07-28T16:09:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"6a9f4284-2949-496a-a883-df7e7d634b16","html_url":"https://github.com/ChristophHu/ngx-debug-mode","commit_stats":null,"previous_names":["christophhu/ngx-debug","christophhu/ngx-debug-mode"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ChristophHu/ngx-debug-mode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChristophHu%2Fngx-debug-mode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChristophHu%2Fngx-debug-mode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChristophHu%2Fngx-debug-mode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChristophHu%2Fngx-debug-mode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ChristophHu","download_url":"https://codeload.github.com/ChristophHu/ngx-debug-mode/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChristophHu%2Fngx-debug-mode/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000759,"owners_count":26082921,"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-09T02:00:07.460Z","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":["angular","debug","debugmode","demo","localstorage","ngx"],"created_at":"2025-08-13T12:46:06.113Z","updated_at":"2025-10-09T04:12:59.860Z","avatar_url":"https://github.com/ChristophHu.png","language":"Sass","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ngx-Debug-Mode\n\n## Frameworks and Languages\n\u003cp align=\"left\"\u003e\n  \u003cimg alt=\"Static Badge\" src=\"https://img.shields.io/badge/19.2.0-000000?style=for-the-badge\u0026logo=angular\u0026logoColor=white\u0026label=Angular\u0026labelColor=000000\"\u003e\u003cbr\u003e\n  \u003cimg alt=\"Static Badge\" src=\"https://img.shields.io/badge/4.1.3-000000?style=for-the-badge\u0026logo=tailwindcss\u0026logoColor=white\u0026label=Tailwind\u0026labelColor=06B6D4\u0026color=000000\"\u003e\u003cbr\u003e\n  \u003cimg alt=\"Static Badge\" src=\"https://img.shields.io/badge/5.7.2-000000?style=for-the-badge\u0026logo=typescript\u0026logoColor=white\u0026label=Typescript\u0026labelColor=007ACC\u0026color=000000\"\u003e\n\u003c/p\u003e\n\n## Demo\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://christophhu.github.io/ngx-debug-mode\"\u003e\u003cimg src=\"https://github.com/ChristophHu/ChristophHu/blob/main/assets/gif/ngx-debug-mode.gif\" width=\"500\" alt=\"image\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## Description\nThis Repository contains a simple Angular library for toggling the debug mode. It is designed to be easy to use and integrate into any Angular application.\nIt uses the `localStorage`-API to save the user's preference for debug mode, so that the setting persists across page reloads. The library is easy to use and can be installed via [npm](https://www.npmjs.com/package/@christophhu/ngx-debug-mode).\n\n## Installation\n```bash\nnpm i @christophhu/ngx-debug-mode\n```\n\n## Use\n### With default toggle\n```html\n\u003cdebug-mode\u003e\u003c/debug-mode\u003e\n```\n\n### With custom toggle\n```html\n\u003cdebug-mode\u003e\n  \u003cinput type=\"checkbox\" class=\"toggle\" id=\"toggle\" (change)=\"toggleDebug()\"/\u003e\n\u003c/debug-mode\u003e\n```\n\n```typescript\nimport { DebugModeService, DebugModeComponent } from \"@christophhu/ngx-debug-mode\";\n\n@Component({\n  ...\n  imports: [\n    DebugModeComponent\n  ],\n  providers: [\n    DebugModeService\n  ]\n})\nexport class TestComponent {\n  \n  constructor(private _debugModeService: DebugModeService) {}\n\n  toggleDebug() {\n    this._debugModeService.toggleDebug()\n  }\n  getDebug(): Observable\u003cboolean\u003e {\n    return this._debugModeService.debug$\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchristophhu%2Fngx-debug-mode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchristophhu%2Fngx-debug-mode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchristophhu%2Fngx-debug-mode/lists"}