{"id":21089215,"url":"https://github.com/basaran/svelte-debug-console","last_synced_at":"2025-08-26T14:07:37.148Z","repository":{"id":57382477,"uuid":"419958616","full_name":"basaran/svelte-debug-console","owner":"basaran","description":"debug.js implementation for Svelte SPA, SSR and sveltekit static sites. See your debug statements in the browser.","archived":false,"fork":false,"pushed_at":"2021-11-04T21:24:28.000Z","size":9,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-09T16:53:34.837Z","etag":null,"topics":["debug","ssr","svelte","sveltekit"],"latest_commit_sha":null,"homepage":"https://basaran.github.io/svelte-recaptcha-v2/","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/basaran.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}},"created_at":"2021-10-22T03:53:35.000Z","updated_at":"2022-05-10T10:50:21.000Z","dependencies_parsed_at":"2022-09-16T10:50:26.066Z","dependency_job_id":null,"html_url":"https://github.com/basaran/svelte-debug-console","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/basaran/svelte-debug-console","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basaran%2Fsvelte-debug-console","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basaran%2Fsvelte-debug-console/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basaran%2Fsvelte-debug-console/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basaran%2Fsvelte-debug-console/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/basaran","download_url":"https://codeload.github.com/basaran/svelte-debug-console/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basaran%2Fsvelte-debug-console/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272227799,"owners_count":24895685,"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-08-26T02:00:07.904Z","response_time":60,"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":["debug","ssr","svelte","sveltekit"],"created_at":"2024-11-19T21:24:38.909Z","updated_at":"2025-08-26T14:07:37.117Z","avatar_url":"https://github.com/basaran.png","language":"JavaScript","readme":"![svelte-debug-console](https://user-images.githubusercontent.com/30809170/138386188-96731e4f-4992-4efa-b4e5-a9a7d736df2c.png)\n\n# svelte-debug-console\n\n[debug.js](https://github.com/visionmedia/debug)  implementation for Svelte SPA, SSR and  sveltekit static sites. See your debug statements in the browser.\n\n## Features\n\n - [x] svelte server side rendering (SSR) friendly.\n - [x] works with sveltekit SPA, SSR and static site adapters.\n - [x] auto scrolls to the last entry.\n - [x] typescript definitions are included for LSP.\n\n## Demonstration\n\n[svelte-debug-console demo](https://basaran.github.io/svelte-recaptcha-v2/)\n\n## Getting Started\n```bash\n# install as a development dependency\npnpm install -D svelte-debug-console\n```\n\n## Basic Usage\n\nImport the library onto your template:\n\n```js\nimport { Debug } from \"svelte-debug-console\";\n/*\n │Debug: svelte \u003cDebug\u003e component.\n */\n```\n\nIn your parent component, add the `\u003cDebug\u003e`:\n\n```svelte\n\u003cDebug discard={\"false\"} /\u003e\n```\n\nIf you want to start fresh, set `discard` option to true.\n\nBy default, debug.js will only create a single instance across your application.  `svelte-debug-console` will inject itself into the main debug instance.\n\nFor some use cases, this may not be desired.\n\n## Issues\n\nIf any trouble, please create an issue. PRs are most welcome.\n\n## Todo\n\n- [ ] Add CSS variables to allow console customization\n- [ ] Improve line formatting to distinct between the message and the label. (probably an arrow or something in between)\n- [ ] Add copy to clipboard option\n- [ ] Add filtering and search\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasaran%2Fsvelte-debug-console","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbasaran%2Fsvelte-debug-console","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasaran%2Fsvelte-debug-console/lists"}