{"id":16974807,"url":"https://github.com/jianjroh/web-component-number-animation","last_synced_at":"2026-05-16T22:38:43.051Z","repository":{"id":148390389,"uuid":"609722884","full_name":"JianJroh/web-component-number-animation","owner":"JianJroh","description":null,"archived":false,"fork":false,"pushed_at":"2023-03-28T10:06:08.000Z","size":26,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-07T02:49:00.226Z","etag":null,"topics":["animation","custom-element","number-animation","ui-component","web-component"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JianJroh.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2023-03-05T03:02:28.000Z","updated_at":"2023-06-03T07:51:02.000Z","dependencies_parsed_at":"2023-05-20T00:00:30.744Z","dependency_job_id":null,"html_url":"https://github.com/JianJroh/web-component-number-animation","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/JianJroh/web-component-number-animation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JianJroh%2Fweb-component-number-animation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JianJroh%2Fweb-component-number-animation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JianJroh%2Fweb-component-number-animation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JianJroh%2Fweb-component-number-animation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JianJroh","download_url":"https://codeload.github.com/JianJroh/web-component-number-animation/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JianJroh%2Fweb-component-number-animation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33121433,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T18:38:32.183Z","status":"ssl_error","status_checked_at":"2026-05-16T18:38:29.903Z","response_time":115,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["animation","custom-element","number-animation","ui-component","web-component"],"created_at":"2024-10-14T01:08:12.389Z","updated_at":"2026-05-16T22:38:43.039Z","avatar_url":"https://github.com/JianJroh.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# web-component-number-animation\n\nThis is a web component that allows you to create numerical animations on your website.\n\n[![Published on npm](https://img.shields.io/npm/v/web-component-number-animation.svg?logo=npm)](https://www.npmjs.com/package/web-component-number-animation)\n[![CI](https://github.com/JianJroh/web-component-number-animation/actions/workflows/ci.yml/badge.svg)](https://github.com/JianJroh/web-component-number-animation/actions/workflows/ci.yml)\n\n## Features\n\n- 🌀 Works with any framework or no framework at all.\n- 🍃 Lightweight and easy to use. (only \u003c2kb gzipped)\n- ⚙️ Support multiple attribute configurations including digital formatting, transition duration, etc.\n\n## Demo\n\n[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/edit/vitejs-vite-vzevlr?embed=1\u0026file=index.html)\n\n## Usage\n\n### Installation\n\n```bash\npnpm i web-component-number-animation   # or npm or yarn\n```\n\n##### Registration and Usage\n\n```ts\nimport { NumberAnimation } from 'web-component-number-animation';\ncustomElements.define('x-number-animation', NumberAnimation);\n```\n\n```html\n\u003cx-number-animation to=\"12345.6789\" /\u003e\n```\n\n### Using package via CDN\n\nUsing ES Module\n\n```html\n\u003cscript type=\"module\"\u003e\n  import { NumberAnimation } from 'https://www.unpkg.com/web-component-number-animation/dist/number-animation.js';\n  customElements.define('x-number-animation', NumberAnimation);\n\u003c/script\u003e\n\n\u003cx-number-animation to=\"12345.6789\" /\u003e\n```\n\n## Configurations\n\nYou can customize the behavior of the NumberAnimation component using the following props:\n\n```ts\ninterface Props {\n  to: number;\n  from?: number;\n  precision?: number;\n  duration?: number;\n  locale?: string;\n  disabled?: boolean;\n  hideSeparator?: boolean;\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjianjroh%2Fweb-component-number-animation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjianjroh%2Fweb-component-number-animation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjianjroh%2Fweb-component-number-animation/lists"}