{"id":19013349,"url":"https://github.com/z41z/fortimer","last_synced_at":"2026-06-14T20:32:54.285Z","repository":{"id":182273805,"uuid":"668228886","full_name":"z41z/fortimer","owner":"z41z","description":"Manage your JavaScript timer.","archived":false,"fork":false,"pushed_at":"2023-07-22T06:07:56.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-10T20:37:59.949Z","etag":null,"topics":["javascript","timer","timer-manager"],"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/z41z.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-07-19T10:16:21.000Z","updated_at":"2023-07-19T10:28:39.000Z","dependencies_parsed_at":"2023-07-19T11:48:41.739Z","dependency_job_id":null,"html_url":"https://github.com/z41z/fortimer","commit_stats":null,"previous_names":["z41z/fortimer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/z41z/fortimer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z41z%2Ffortimer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z41z%2Ffortimer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z41z%2Ffortimer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z41z%2Ffortimer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/z41z","download_url":"https://codeload.github.com/z41z/fortimer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z41z%2Ffortimer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34337551,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-14T02:00:07.365Z","response_time":62,"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":["javascript","timer","timer-manager"],"created_at":"2024-11-08T19:23:35.223Z","updated_at":"2026-06-14T20:32:54.265Z","avatar_url":"https://github.com/z41z.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fortimer\n\nManage your JavaScript timer.\n\n## Install\n\n``` node\n  npm i fortimer //or yarn add fortimer\n```\n\n### Usage\n\n``` js\n  import Timer from 'fortimer'\n  let timer = new Timer()\n  timer.add({\n    name: 'test',\n    repeat: true,\n    func: () =\u003e {\n      console.log(new Date())\n    }\n  })\n```\n\n* add(obj = {})\n  * {Object} config\n    * {String} name: timer name\n    * {Boolean} repeat: default `false`,`true` for setInterval(),`false` for setTimeout()\n    * {Number} duration: timer duraion,default `1000`ms\n\n  ``` js\n    timer.add({\n      name: 'test',\n      repeat: true,\n      duration: 10e3,\n      func: ()=\u003e{\n        console.log(new Date())\n      }\n    });\n    // return timer\n  ```\n* getAll()\n  ``` js\n    timer.getAll();\n  ```\n* remove(name)\n  * {String} name: timer name\n\n  ``` js\n    timer.remove('test');\n  ```\n* removeAll()\n  ``` js\n    timer.removeAll();\n  ```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fz41z%2Ffortimer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fz41z%2Ffortimer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fz41z%2Ffortimer/lists"}