{"id":20596040,"url":"https://github.com/davidfig/fps","last_synced_at":"2025-04-14T23:44:09.481Z","repository":{"id":25702854,"uuid":"106160636","full_name":"davidfig/fps","owner":"davidfig","description":"Yet another FPS indicator with graph","archived":false,"fork":false,"pushed_at":"2023-09-27T00:23:03.000Z","size":4238,"stargazers_count":5,"open_issues_count":6,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-14T23:44:03.361Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/davidfig.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}},"created_at":"2017-10-08T08:21:23.000Z","updated_at":"2023-11-17T23:58:47.000Z","dependencies_parsed_at":"2024-06-18T22:58:46.923Z","dependency_job_id":"7850627c-a13d-4140-a616-21d2c18c5dfc","html_url":"https://github.com/davidfig/fps","commit_stats":{"total_commits":28,"total_committers":1,"mean_commits":28.0,"dds":0.0,"last_synced_commit":"b45d5ae12d05dec5238e49bc8ef9ea10f7f22f43"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidfig%2Ffps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidfig%2Ffps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidfig%2Ffps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidfig%2Ffps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidfig","download_url":"https://codeload.github.com/davidfig/fps/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248981259,"owners_count":21193143,"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-11-16T08:14:52.553Z","updated_at":"2025-04-14T23:44:09.464Z","avatar_url":"https://github.com/davidfig.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# yy-fps\nA vanilla, easy-to-use FPS meter with colored graph and no dependencies or separate CSS files\n\n## Features\n* vanilla javascript written in typescript\n* simple one call per loop\n* no dependencies\n* no CSS files required (styles can be changed by passing a style object)\n* placement in any corner\n* restyle any part\n* toggle the meter on or off\n\n## New v2\n* rewrote entire codebase in typescript with same functionality as v1\n* improved demo\n* improved packaging\n\n## Installation\n\n    npm i yy-fps\n\n    or\n\n    copy the dist/fps.min.js file to your app, and include it:\n    \u003cscript src=\"fps.min.js\"\u003e\u003c/script\u003e\n\n\n## Simple Example\n\n    import { FPS } from 'yy-fps'\n    const fps = new FPS()\n\n    // or if including the file directly:\n    // const fps = FPS.FPS()\n\n    // update function\n    function update() {\n        // do stuff like rendering and dancing\n\n        fps.frame()\n\n        requestAnimationFrame(update)\n    }\n\n    update()\n\n## Live Example\nhttps://davidfig.github.io/fps/\n\n## Documentation\nhttps://davidfig.github.io/fps/jsdoc\n\n## License\nMIT License\n(c) 2021 [YOPEY YOPEY LLC](https://yopeyopey.com/) by [David Figatner](https://twitter.com/yopey_yopey/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidfig%2Ffps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidfig%2Ffps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidfig%2Ffps/lists"}