{"id":16636761,"url":"https://github.com/takamin/fractional-timer","last_synced_at":"2025-03-12T01:45:16.871Z","repository":{"id":57241302,"uuid":"86327938","full_name":"takamin/fractional-timer","owner":"takamin","description":"Best effort sub-millisecond interval timer","archived":false,"fork":false,"pushed_at":"2017-07-06T05:15:07.000Z","size":6,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-28T04:29:21.504Z","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/takamin.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":"2017-03-27T11:36:33.000Z","updated_at":"2017-03-27T11:40:09.000Z","dependencies_parsed_at":"2022-09-07T23:13:13.995Z","dependency_job_id":null,"html_url":"https://github.com/takamin/fractional-timer","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takamin%2Ffractional-timer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takamin%2Ffractional-timer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takamin%2Ffractional-timer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takamin%2Ffractional-timer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/takamin","download_url":"https://codeload.github.com/takamin/fractional-timer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243141256,"owners_count":20242817,"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-12T06:22:44.943Z","updated_at":"2025-03-12T01:45:16.848Z","avatar_url":"https://github.com/takamin.png","language":"JavaScript","readme":"fractional-timer\n================\n\nThe _best effort_ sub-millisecond interval timer.\n\nThis module is confirmed to work on the Chrome and node.js.\nBut, the Firefox or the Microsoft Edge may confuse.\n\nSimple Example\n--------------\n\n```javascript\nlet ft = require(\"fractional-timer\");\nlet ftid = ft.setInterval(()=\u003e{\n        ft.clearInterval(ftid);\n    }, 0.001); // 1 micro-seconds\n```\n\nSetup\n-----\n\n```bash\n$ npm install fractional-timer\n```\n\nFor using on the browser, use `browserify` or the static methods\nnamed `setInterval` and `clearInterval` provided by the\n`FractionalTimer` class.\n\nAPIs\n----\n\n* __setInterval( _func_ , _delay_ )__ starts the interval timer process.\nThis returns the timer id.\n* __clearInterval(_fractional-timer-id_)__ stops the timer.\n\nBoth of above exported functions are almost same to the standard version\nprovided except for that the delay duration of `setInterval` could be\nset as less than a milliseconds.\n\nCHANGES\n-------\n\n* v1.0.2 - Remove the harmony features that uglify-js does not support.\n* v1.0.1 - Fix the bug that could not work on web-browser. issue#1\n\nLICENSE\n-------\n\nThis software is released under the MIT License, see [LICENSE](LICENSE)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftakamin%2Ffractional-timer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftakamin%2Ffractional-timer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftakamin%2Ffractional-timer/lists"}