{"id":17405865,"url":"https://github.com/inorganik/ngx-countUp","last_synced_at":"2026-08-31T07:30:23.949Z","repository":{"id":24334016,"uuid":"101228140","full_name":"inorganik/ngx-countUp","owner":"inorganik","description":"Animates a numerical value by counting to it - for Angular","archived":false,"fork":false,"pushed_at":"2026-08-08T01:55:36.000Z","size":2916,"stargazers_count":141,"open_issues_count":19,"forks_count":24,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-08-25T06:26:05.200Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/inorganik.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2017-08-23T21:54:06.000Z","updated_at":"2026-08-15T11:07:21.000Z","dependencies_parsed_at":"2024-01-12T18:41:38.727Z","dependency_job_id":"abd5dea3-c7d6-4a71-bd60-70cf207fd7f0","html_url":"https://github.com/inorganik/ngx-countUp","commit_stats":{"total_commits":55,"total_committers":10,"mean_commits":5.5,"dds":0.5818181818181818,"last_synced_commit":"69c986e95b8c9c358cffa01ec8f53842e5926a1e"},"previous_names":["inorganik/countup.js-angular2"],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/inorganik/ngx-countUp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inorganik%2Fngx-countUp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inorganik%2Fngx-countUp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inorganik%2Fngx-countUp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inorganik%2Fngx-countUp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/inorganik","download_url":"https://codeload.github.com/inorganik/ngx-countUp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inorganik%2Fngx-countUp/sbom","scorecard":{"id":489374,"data":{"date":"2025-08-11","repo":{"name":"github.com/inorganik/ngx-countUp","commit":"b0cbaa08046a8415a5f6f5e7d62b195853445b77"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.1,"checks":[{"name":"Code-Review","score":3,"reason":"Found 3/10 approved changesets -- score normalized to 3","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"1 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Info: FSF or OSI recognized license: MIT License: LICENSE.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 26 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"25 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-8hc4-vh64-cxmj","Warn: Project is vulnerable to: GHSA-jr5f-v2jv-69x6","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-pxg6-pf52-xh8x","Warn: Project is vulnerable to: GHSA-67mh-4wv8-2f99","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-c7qv-q95q-8v27","Warn: Project is vulnerable to: GHSA-4www-5p9h-95mh","Warn: Project is vulnerable to: GHSA-9gqv-wp59-fq42","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55","Warn: Project is vulnerable to: GHSA-76c9-3jph-rj3q","Warn: Project is vulnerable to: GHSA-rhx6-c78j-4q9w","Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-vg6x-rcgg-rjx6","Warn: Project is vulnerable to: GHSA-x574-m823-4x7w","Warn: Project is vulnerable to: GHSA-4r4m-qw57-chr8","Warn: Project is vulnerable to: GHSA-xcj6-pq6g-qj4x","Warn: Project is vulnerable to: GHSA-356w-63v5-8wf4","Warn: Project is vulnerable to: GHSA-859w-5945-r5v3","Warn: Project is vulnerable to: GHSA-4v9v-hfq4-rm2v","Warn: Project is vulnerable to: GHSA-9jgg-88mc-972h"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-19T18:39:35.141Z","repository_id":24334016,"created_at":"2025-08-19T18:39:35.141Z","updated_at":"2025-08-19T18:39:35.141Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":36995723,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-22T15:14:58.755Z","status":"online","status_checked_at":"2026-08-31T02:00:07.497Z","response_time":119,"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-16T21:01:15.193Z","updated_at":"2026-08-31T07:30:23.944Z","avatar_url":"https://github.com/inorganik.png","language":"TypeScript","funding_links":[],"categories":["Third Party Components"],"sub_categories":["Animations"],"readme":"# ngx-countup - CountUp.js in Angular\n\nThis is an Angular directive wrapper around the core functionality of CountUp which is maintained in the [CountUp.js repo](https://github.com/inorganik/countUp.js) by the same author. MIT License.\n\n#### [CountUp.js demo](http://inorganik.github.io/countUp.js)\n\nOr see this angular version work by cloning this project and running `ng serve`.\n\n## Compatibility\n\n| Angular version | ngx-countup version | API Changes                            |\n| --------------- | ------------------- | -------------------------------------- |\n| 21+             | 21                  | Use `countUpOptions` input for options |\n| 13-20           | 13.2.0              | Use `options` input for options        |\n| 7-12            | 7.3.3               | -                                      |\n\nContents:\n\n- [Usage](#usage)\n- [Contributing](#contributing)\n\n## Usage\n\nInstall the package in your project. For **Angular 21** and newer:\n\n`npm i ngx-countup`\n\n---\n\nIn your component, import the directive:\n\n```ts\nimport { CountUpDirective } from 'ngx-countup';\n\n@Component({\n  selector: 'app-some-component',\n  imports: [\n    CountUpDirective\n  ],\n  ...\n})\n```\n\nUse it in your template. Since it's a directive, it can be added to any element:\n\n```html\n\u003ch1 [countUp]=\"345\"\u003e0\u003c/h1\u003e\n```\n\nNote: The component is safe for server side rendering.\n\n**Inputs:**\n\n- `countUp`: number to count to\n- `countUpOptions`: [CountUpOptions](https://github.com/inorganik/countUp.js#options) - fine-grain control over CountUp\n- `reanimateOnClick`: pass false to disable (defaults to true)\n\n**Outputs:**\n\n- `complete`: emits when the animation completes\n\n### Auto animate when element becomes visible\n\nUse the autoAnimate option to animate when the element is scrolled into view or appears on screen.\n\n```html\n\u003ch1 [countUp]=\"myEndVal\" [countUpOptions]=\"{ autoAnimate: true }\"\u003e0\u003c/h1\u003e\n```\n\n### Re-animate\n\nTo re-animate CountUp programmatically, add a template ref variable to the markup (with #):\n\n```html\n\u003ch1 #countUp [countUp]=\"myEndVal\" [countUpOptions]=\"myOpts\"\u003e0\u003c/h1\u003e\n```\n\nThen, select it with `@ViewChild` in your component's Typescript file (using the template ref you created).\n\n```ts\n  @ViewChild('countUp') countUp: CountUpDirective;\n```\n\nThen call the animate function where needed.\n\n```ts\nthis.countUp.animate();\n```\n\nRemember to do this inside `ngAfterViewInit()` to do something on component load.\n\n## Contributing\n\nBefore you make a pull request, please follow these instructions:\n\n1. Make your edits to `./projects/ngx-countup/src/lib/ngx-countup.directive.ts`.\n1. Build the lib: `npm run build:countup`\n1. Test your changes in the demo app: `npm start`\n1. Ensure tests pass: `npm t -- ngx-countup`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finorganik%2Fngx-countUp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finorganik%2Fngx-countUp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finorganik%2Fngx-countUp/lists"}