{"id":16837526,"url":"https://github.com/gyandeeps/jstimer","last_synced_at":"2026-07-21T14:02:11.404Z","repository":{"id":11097134,"uuid":"13448807","full_name":"gyandeeps/jsTimer","owner":"gyandeeps","description":"API to put timers inside your JavaScript code.","archived":false,"fork":false,"pushed_at":"2014-09-23T03:07:30.000Z","size":216,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-24T10:47:46.499Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/gyandeeps.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}},"created_at":"2013-10-09T17:25:29.000Z","updated_at":"2016-02-25T05:00:22.000Z","dependencies_parsed_at":"2022-09-06T17:12:03.482Z","dependency_job_id":null,"html_url":"https://github.com/gyandeeps/jsTimer","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gyandeeps%2FjsTimer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gyandeeps%2FjsTimer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gyandeeps%2FjsTimer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gyandeeps%2FjsTimer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gyandeeps","download_url":"https://codeload.github.com/gyandeeps/jsTimer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244153308,"owners_count":20406995,"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-10-13T12:17:42.999Z","updated_at":"2025-10-18T02:14:57.262Z","avatar_url":"https://github.com/gyandeeps.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"jsTimer\n=======\n\nAPI to put timers inside your JavaScript code.\n\nTIMER FOR JavaScript\n \n  To use this function, please place this function inside your code.\n - Create an object of this function by passing in a component name and true or false depending upon if you want to see your timer value as alerts.\n   by default alert would be false.\n - By using that object you can create and start a timer by calling startTimer function and specify the timer name.\n - By using the same Object, you can stop a timer by calling stopTimer function and specify the timer name.\n - By using the same Object, you can kill a timer by calling killTimer function and specify the timer name to kill.\n - By using the same Object, you can print all timers you have created so far by calling printAllTimer function.\n - By using the same Object, you can check if the timer has started or not by calling hasStarted function with timer name.\n - By using the same Object, you can check timer status by calling timerStatus function with timer name.\n\n Example:\n          \n          var timerObj = new timersForPerformance(\"Ambulatory Organizer\", false);\n          \n          timerObj.startTimer(\"Retrieve data\"); \n          \n          timerObj.startTimer(\"Render data\"); \n \n          timerObj.stopTimer(\"Retrieve data\");\n\n          timerObj.stopTimer(\"Render data\");\n\n          timerObj.printAllTimer(); //this would print the info for the top 2 timer.\n\n  * You can define as many timers as you want.\n \n\nThis is not a perfect timer function. Lot of enhancements would be made in the future.\nAny kind of suggestions or feedbacks or contribution would be highly appreciated.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgyandeeps%2Fjstimer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgyandeeps%2Fjstimer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgyandeeps%2Fjstimer/lists"}