{"id":16292503,"url":"https://github.com/exogen/jquery-tally","last_synced_at":"2025-10-18T22:52:54.257Z","repository":{"id":1807696,"uuid":"2731775","full_name":"exogen/jquery-tally","owner":"exogen","description":"Animate changing numbers (with text, not images)","archived":false,"fork":false,"pushed_at":"2011-11-08T17:25:44.000Z","size":108,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-14T14:48:52.182Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"AlexSergey/Angular_MEAN","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/exogen.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":"2011-11-08T05:37:24.000Z","updated_at":"2017-05-10T22:39:02.000Z","dependencies_parsed_at":"2022-07-07T23:48:58.047Z","dependency_job_id":null,"html_url":"https://github.com/exogen/jquery-tally","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/exogen/jquery-tally","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exogen%2Fjquery-tally","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exogen%2Fjquery-tally/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exogen%2Fjquery-tally/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exogen%2Fjquery-tally/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/exogen","download_url":"https://codeload.github.com/exogen/jquery-tally/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exogen%2Fjquery-tally/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260713353,"owners_count":23050827,"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-10T20:07:13.566Z","updated_at":"2025-10-18T22:52:49.200Z","avatar_url":"https://github.com/exogen.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jQuery Tally\n\n### [Demo][]\n\n### What is it?\n\nA jQuery plugin that animates (and formats) numbers, drawing attention and making your page feel alive. [See?][Demo]\n\n### Why is it cool?\n\nTally uses jQuery's [`cssHooks`][cssHooks] and `fx.step` features to behave just like every other animation!\nThat means there's less code, and you get custom duration, easing, callback, and queue control for free.\n\nHere's the simplest usage:\n\n```javascript\n$('.points').tally(75);\n```\n\nBut check this out:\n\n```javascript\n$('.points').animate({tally: '+=250', fontSize: '48px', top: '-10px'},\n                     {duration: 5000, easing: 'swing', queue: false});\n```\n\n### Oh yeah, what else?\n\nTally plays well with the [Number Formatter][] plugin, which offers greater formatting control and includes\nlocale-specific defaults. Just include it alongside Tally and it will be used.\n\n### Why did you make it?\n\nAt [BigDoor][], we award points. [Lots of 'em.][info] But we wanted point balances to feel more \"active\" and\n\"tactile\" — like coins spilling out of a slot machine. So we created this animation (along with a few other\nspiffy effects).\n\nBy the way, [we're hiring][hiring].\n\n### Does it suck?\n\nNo.\n\n## Documentation\n\n### .tally(number [, duration] [, easing] [, complete])\n### .tally(number, options)\n\nCalling `tally(x, ...)` on a jQuery object is equivalent to calling `animate({tally: x}, ...)`.\nThat means the second argument can be a duration (followed by easing, callback, etc.) or an object\nwith options.\n\n### $.tally.defaults\n\nDefault options for number formatting. These are passed to `$.tally.parseNumber` and `$.tally.formatNumber`.\n\n* **decimalMark**: Which decimal mark character to use. Default: `'.'`\n* **thousandsSeparator**: Which character separates groups of digits. Default: `','`\n\n### $.tally.parseNumber(string[, options])\n\nParse a number string formatted with the given options (or use the defaults). If the [Number Formatter][]\nplugin is installed, this is a reference to `$.parseNumber`.\n\n### $.tally.formatNumber(number[, options])\n\nFormat a number with the given options (or use the defaults). If the [Number Formatter][]\nplugin is installed, this is a reference to `$.formatNumber`.\n\n[BigDoor]: http://www.bigdoor.com/\n[hiring]: http://www.bigdoor.com/about-us/careers/\n[Demo]: http://exogen.github.com/jquery-tally/\n[Number Formatter]: http://code.google.com/p/jquery-numberformatter/\n[cssHooks]: http://api.jquery.com/jQuery.cssHooks/\n[info]: http://www.bigdoor.com/blog/bigdoors-infowidget-celebrates-success/","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexogen%2Fjquery-tally","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexogen%2Fjquery-tally","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexogen%2Fjquery-tally/lists"}