{"id":15293478,"url":"https://github.com/davidfig/debug","last_synced_at":"2026-01-05T14:33:39.459Z","repository":{"id":57205956,"uuid":"62475387","full_name":"davidfig/debug","owner":"davidfig","description":"Javascript Debug Panels (useful for game development)","archived":false,"fork":false,"pushed_at":"2017-06-29T00:19:39.000Z","size":7114,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-16T09:14:51.805Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/davidfig.png","metadata":{"files":{"readme":"README.hbs","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}},"created_at":"2016-07-03T00:44:27.000Z","updated_at":"2022-03-31T17:17:15.000Z","dependencies_parsed_at":"2022-09-12T21:20:57.289Z","dependency_job_id":null,"html_url":"https://github.com/davidfig/debug","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidfig%2Fdebug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidfig%2Fdebug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidfig%2Fdebug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidfig%2Fdebug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidfig","download_url":"https://codeload.github.com/davidfig/debug/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245294769,"owners_count":20591900,"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":[],"created_at":"2024-09-30T16:48:55.135Z","updated_at":"2026-01-05T14:33:39.432Z","avatar_url":"https://github.com/davidfig.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## debug.js\ndebug panels for javascript (designed for game development)\n\n## Code Example\n\n    const Debug = require('@yy/debug');\n\n    // initialize the library\n    Debug.init();\n\n    // send a message to the default panel created in the init()\n    Debug.log('This is a test message.');\n\n    // add an FPS panel and meter\n    var fps = Debug.add('FPS', {text: '0 FPS', side: 'rightBottom'});\n    var meter = Debug.addMeter('panel', {side: 'rightBottom'});\n\n    // update the FPS\n    setInterval(function () {\n        var FPS = Math.random() * 60;\n\n        // adds a meter line\n        Debug.meter(Math.random() * 2 - 1, {panel: meter});\n\n        // replaces all HTML in FPS panel\n        Debug.one(Math.round(FPS) + ' FPS', {panel: fps, color: (FPS \u003c 30 ? 'red' : null)});\n    }, 60);\n\n    Debug.add('testing', {text: 'this is another panel.'});\n\n## Live Example\nhttps://davidfig.github.io/debug/\n\nsee also\n\n* https://davidfig.github.io/update/\n* https://davidfig.github.io/animate/\n* https://davidfig.github.io/renderer/\n* https://davidfig.github.io/viewport/\n\n## Installation\ninclude debug.js in your project or add to your workflow\n\n    npm install yy-debug\n\n# API Reference\n{{\u003emain}}\n\n* * *\n\nCopyright (c) 2016 YOPEY YOPEY LLC - MIT License - Documented by [jsdoc-to-markdown](https://github.com/75lb/jsdoc-to-markdown)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidfig%2Fdebug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidfig%2Fdebug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidfig%2Fdebug/lists"}