{"id":15617974,"url":"https://github.com/omnedia/ngx-number-ticker","last_synced_at":"2026-03-11T17:34:07.313Z","repository":{"id":254126501,"uuid":"845520289","full_name":"omnedia/ngx-number-ticker","owner":"omnedia","description":"A simple number ticker effect to animate counting. ","archived":false,"fork":false,"pushed_at":"2025-06-11T12:21:06.000Z","size":13,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-25T01:37:27.129Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/omnedia.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}},"created_at":"2024-08-21T12:10:31.000Z","updated_at":"2025-07-24T14:37:40.000Z","dependencies_parsed_at":"2024-08-21T15:58:31.399Z","dependency_job_id":"57855f5d-141b-481b-abee-adfac0ea125d","html_url":"https://github.com/omnedia/ngx-number-ticker","commit_stats":null,"previous_names":["omnedia/ngx-number-ticker"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/omnedia/ngx-number-ticker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omnedia%2Fngx-number-ticker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omnedia%2Fngx-number-ticker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omnedia%2Fngx-number-ticker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omnedia%2Fngx-number-ticker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/omnedia","download_url":"https://codeload.github.com/omnedia/ngx-number-ticker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omnedia%2Fngx-number-ticker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272335790,"owners_count":24916529,"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","status":"online","status_checked_at":"2025-08-27T02:00:09.397Z","response_time":76,"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":[],"created_at":"2024-10-03T08:00:53.457Z","updated_at":"2026-03-11T17:34:02.293Z","avatar_url":"https://github.com/omnedia.png","language":"TypeScript","funding_links":[],"categories":["Recently Updated","Third Party Components"],"sub_categories":["[Oct 01, 2024](/content/2024/10/01/README.md)","Animations"],"readme":"# ngx-number-ticker\n\n\u003ca href=\"https://ngxui.com\" target=\"_blank\" style=\"display: flex;gap: .5rem;align-items: center;cursor: pointer; padding: 0 0 0 0; height: fit-content;\"\u003e\n  \u003cimg src=\"https://ngxui.com/assets/img/ngxui-logo.png\" style=\"width: 64px;height: 64px;\"\u003e\n\u003c/a\u003e\n\nThis Library is part of the NGXUI ecosystem. \u003cbr\u003e\nView all available components at https://ngxui.com\n\n`@omnedia/ngx-number-ticker` is an Angular library that provides a smooth animated number ticker. The component allows you to animate the counting of a number from its current state to a target value with customizable animation duration. This is perfect for dynamically displaying changing values such as counters, stats, or any number-based data in your Angular application.\n\n## Features\n\n- Smooth number ticker animation, counting up or down to a target value.\n- Customizable animation duration.\n- Easy to integrate as a standalone component.\n\n## Installation\n\nInstall the library using npm:\n\n```bash\nnpm install @omnedia/ngx-number-ticker\n```\n\n## Usage\n\nImport the `NgxNumberTickerComponent` in your Angular module or component:\n\n```typescript\nimport {NgxNumberTickerComponent} from '@omnedia/ngx-number-ticker';\n\n@Component({\n  ...\n    imports:\n[\n  ...\n    NgxNumberTickerComponent,\n],\n...\n})\n```\n\nUse the component in your template:\n\n```html\n\n\u003com-number-ticker\n  [countTo]=\"1000\"\n  [countDuration]=\"2000\"\n  styleClass=\"custom-ticker-class\"\n\u003e\u003c/om-number-ticker\u003e\n```\n\n## API\n\n```html\n\n\u003com-number-ticker\n  [countTo]=\"countTo\"\n  [countDuration]=\"countDuration\"\n  [transformFunction]=\"transformFunction\"\n  styleClass=\"your-custom-class\"\n\u003e\u003c/om-number-ticker\u003e\n```\n\n- `countTo` (required): The target number to which the ticker will count up or down.\n- `countDuration` (optional): The duration of the counting animation in milliseconds. Defaults to 2000ms.\n- `transformFunction` (optional): Callback-Function to modify the displayed number. E.g. formatting it to toLocaleString()\n- `styleClass` (optional): A custom CSS class to apply to the number ticker for additional styling.\n\n## Example\n\n```html\n\n\u003com-number-ticker\n  [countTo]=\"5000\"\n  [countDuration]=\"3000\"\n  styleClass=\"ticker-custom-style\"\n\u003e\u003c/om-number-ticker\u003e\n```\n\nThis will create a ticker that counts up to 5000 over a duration of 3000ms.\n\n## Styling\n\nYou can apply custom styles to the ticker using the styleClass input. For example:\n\n```css\n.ticker-custom-style {\n  font-size: 48px;\n  color: #4caf50;\n  font-weight: bold;\n  text-align: center;\n}\n```\n\nThis example styles the ticker with a larger font size, green color, bold font weight, and centered text.\n\n## Contributing\n\nContributions are welcome. Please submit a pull request or open an issue to discuss your ideas.\n\n## License\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomnedia%2Fngx-number-ticker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fomnedia%2Fngx-number-ticker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomnedia%2Fngx-number-ticker/lists"}