{"id":51820543,"url":"https://github.com/phalla-doll/ng-number-flow","last_synced_at":"2026-07-24T14:00:38.575Z","repository":{"id":369818539,"uuid":"1291696032","full_name":"phalla-doll/ng-number-flow","owner":"phalla-doll","description":"An Angular (17+ standalone) animated number component.","archived":false,"fork":false,"pushed_at":"2026-07-14T07:37:30.000Z","size":1165,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-07-14T09:18:07.126Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://phalla-doll.github.io/ng-number-flow/","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/phalla-doll.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":"2026-07-07T02:57:34.000Z","updated_at":"2026-07-14T07:37:34.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/phalla-doll/ng-number-flow","commit_stats":null,"previous_names":["phalla-doll/ng-number-flow"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/phalla-doll/ng-number-flow","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phalla-doll%2Fng-number-flow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phalla-doll%2Fng-number-flow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phalla-doll%2Fng-number-flow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phalla-doll%2Fng-number-flow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phalla-doll","download_url":"https://codeload.github.com/phalla-doll/ng-number-flow/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phalla-doll%2Fng-number-flow/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35844578,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-07-24T02:00:07.870Z","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":[],"created_at":"2026-07-22T05:00:25.539Z","updated_at":"2026-07-24T14:00:38.569Z","avatar_url":"https://github.com/phalla-doll.png","language":"TypeScript","funding_links":[],"categories":["Framework Interoperability"],"sub_categories":["Wrappers"],"readme":"# ng-number-flow\n\n[![npm version](https://img.shields.io/npm/v/ng-number-flow.svg)](https://www.npmjs.com/package/ng-number-flow)\n[![license](https://img.shields.io/npm/l/ng-number-flow.svg)](./LICENSE)\n\nAn Angular (19+ standalone) wrapper around [number-flow](https://github.com/barvian/number-flow) —\nan accessible, animated number component. Smooth rolling-digit transitions, locale-aware\nformatting, and synchronized groups, built on the same framework-agnostic engine as the official\nReact, Vue, and Svelte packages.\n\n**[▶ Live demo](https://phalla-doll.github.io/ng-number-flow/)** \u0026nbsp;·\u0026nbsp; **[📦 npm](https://www.npmjs.com/package/ng-number-flow)**\n\n| Feature | Details |\n| --- | --- |\n| **Rolling-digit transitions** | Powered by the Web Animations API |\n| **Accessible** | `role=\"img\"` + `aria-label` |\n| **Locale-aware formatting** | `Intl.NumberFormat`, cached |\n| **Synchronized groups** | Group directive for coordinated animations |\n| **Modern Angular** | Standalone, `OnPush`, signal-based, zoneless-compatible; Angular 19 → latest |\n\n## Installation\n\n```bash\nnpm i ng-number-flow number-flow\n```\n\n## Usage\n\n```ts\nimport { Component, signal } from '@angular/core';\nimport { NumberFlowComponent } from 'ng-number-flow';\n\n@Component({\n  selector: 'app-demo',\n  standalone: true,\n  imports: [NumberFlowComponent],\n  template: `\u003cnumber-flow [value]=\"count()\" /\u003e`,\n})\nexport class DemoComponent {\n  readonly count = signal(3500);\n}\n```\n\nFormatting (any `Intl.NumberFormat` options, plus `locales`, `prefix`, `suffix`):\n\n```html\n\u003cnumber-flow [value]=\"price()\" [format]=\"{ style: 'currency', currency: 'USD' }\" /\u003e\n```\n\nGrouping — synchronize animations across multiple numbers:\n\n```ts\nimport { NumberFlowComponent, NumberFlowGroupDirective } from 'ng-number-flow';\n\n@Component({\n  selector: 'app-group',\n  standalone: true,\n  imports: [NumberFlowComponent, NumberFlowGroupDirective],\n  template: `\n    \u003cdiv numberFlowGroup\u003e\n      \u003cnumber-flow [value]=\"a()\" /\u003e / \u003cnumber-flow [value]=\"b()\" /\u003e\n    \u003c/div\u003e\n  `,\n})\nexport class GroupComponent {}\n```\n\n**Full API reference** (all inputs, outputs, timing options, exported types) lives in the package\nREADME: [`packages/ng-number-flow/README.md`](./packages/ng-number-flow/README.md).\n\n## Repository layout\n\n```\nng-number-flow/\n├── apps/\n│   └── demo/                     # standalone Angular demo app (zoneless)\n├── docs/                         # feasibility + implementation notes\n└── packages/\n    └── ng-number-flow/           # the publishable Angular library (ng-packagr)\n```\n\nThis is a pnpm workspace.\n\n## Development\n\n```bash\npnpm install\n\n# Build the library (ng-packagr → packages/ng-number-flow/dist)\npnpm --filter ng-number-flow build\n\n# Run the demo app (imports the library from source, live reload)\npnpm --filter demo start\n```\n\nThe demo imports the library from source via a tsconfig `paths` mapping, so library edits\nhot-reload without a rebuild.\n\nSee [`docs/feasibility-and-implementation-plan.md`](./docs/feasibility-and-implementation-plan.md)\nfor the architecture investigation and as-built implementation notes.\n\n## SSR\n\nClient-side only in this release; the component initializes in the browser. Declarative-Shadow-DOM\nhydration is a planned follow-up.\n\n## License\n\nMIT — same as `number-flow`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphalla-doll%2Fng-number-flow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphalla-doll%2Fng-number-flow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphalla-doll%2Fng-number-flow/lists"}