{"id":23041259,"url":"https://github.com/sophilabs/jquery-counter","last_synced_at":"2025-07-19T11:03:15.375Z","repository":{"id":3252495,"uuid":"4290393","full_name":"sophilabs/jquery-counter","owner":"sophilabs","description":"jQuery.counter (javascript + css3)","archived":false,"fork":false,"pushed_at":"2017-05-17T17:14:47.000Z","size":231,"stargazers_count":165,"open_issues_count":11,"forks_count":38,"subscribers_count":22,"default_branch":"master","last_synced_at":"2024-12-10T12:49:23.748Z","etag":null,"topics":["jquery-counter","jquery-plugin","unmaintained"],"latest_commit_sha":null,"homepage":"http://sophilabs.github.com/jquery-counter","language":"CSS","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/sophilabs.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":"2012-05-10T22:09:51.000Z","updated_at":"2022-11-16T07:58:57.000Z","dependencies_parsed_at":"2022-08-17T22:00:49.230Z","dependency_job_id":null,"html_url":"https://github.com/sophilabs/jquery-counter","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/sophilabs%2Fjquery-counter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sophilabs%2Fjquery-counter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sophilabs%2Fjquery-counter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sophilabs%2Fjquery-counter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sophilabs","download_url":"https://codeload.github.com/sophilabs/jquery-counter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229865783,"owners_count":18136366,"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":["jquery-counter","jquery-plugin","unmaintained"],"created_at":"2024-12-15T19:32:12.074Z","updated_at":"2024-12-15T19:32:12.644Z","avatar_url":"https://github.com/sophilabs.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jQuery.counter (javascript + css3)\n\nInfo + Demo: http://sophilabs.github.com/jquery-counter\n\n![jQuery Counter](http://i.imgur.com/ub7D9.png)\n\nA jQuery counter based on http://code.google.com/p/jquery-countdown with more options.\n\n\n## Options\nOptions can be set by attribute `data-\u003cname\u003e=\"value\"` or in the options hash on counter initialization: `$(element).counter({name: value, ...})`\n\n**`direction: up|down`** Counter direction\n\n**`format: string`** Defines the format and the limit for each part - _e.g: 23:59:59_\n\n**`interval: number`** Defines the time between each counter increment - _by default 1000 milliseconds_\n\n**`stop: string`** Defines the counter limit - _eg: 10:00 (ten minutes)_\n\n## Methods\nMethods can be call using `$(element).counter('method')`\n\n**`play`** Play counter\n\n**`reset`** Reset counter\n\n**`stop`** Stop counter\n\n## Events\n\n**`counterStop`** Raised when the counter reach limit\n\n## Example\n### 10 seconds countdown:\n\n    \u003cspan class=\"counter counter-analog\"\u003e0:10\u003c/span\u003e\n    \u003cscript\u003e\n        $('.counter').counter();\n    \u003c/script\u003e\n\n### 120 seconds count:\n    \u003cspan class=\"counter counter-analog\" data-direction=\"up\" data-format=\"120\"\u003e0\u003c/span\u003e\n    \u003cscript\u003e\n        $('.counter').counter();\n    \u003c/script\u003e\n    \n## License\njQuery.counter is Copyright (c) 2017 sophilabs, inc. It is free software, and may be\nredistributed under the terms specified in the [license](/LICENSE) file.\n\n## About\n\n[![sophilabs.co](https://s3.amazonaws.com/sophilabs-assets/logo/logo_300x66.gif)](https://sophilabs.co)\n\njQuery.counter is maintained and funded by sophilabs, inc. The names and logos for\nsophilabs are trademarks of sophilabs, inc.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsophilabs%2Fjquery-counter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsophilabs%2Fjquery-counter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsophilabs%2Fjquery-counter/lists"}