{"id":13468533,"url":"https://github.com/javierbyte/react-number-easing","last_synced_at":"2025-04-06T07:13:34.484Z","repository":{"id":31756040,"uuid":"35322193","full_name":"javierbyte/react-number-easing","owner":"javierbyte","description":"React component to interpolate rendering of numbers in the frontend.","archived":false,"fork":false,"pushed_at":"2024-01-29T13:08:28.000Z","size":2568,"stargazers_count":155,"open_issues_count":4,"forks_count":23,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-03-30T06:11:09.410Z","etag":null,"topics":["animation","design-tool","easing","frontend","react","react-number-easing","transition"],"latest_commit_sha":null,"homepage":"https://javier.xyz/react-number-easing/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/javierbyte.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2015-05-09T09:03:21.000Z","updated_at":"2025-02-11T15:48:04.000Z","dependencies_parsed_at":"2024-06-18T21:10:17.480Z","dependency_job_id":"42c07c40-914f-4df0-b883-8cb5878ce823","html_url":"https://github.com/javierbyte/react-number-easing","commit_stats":{"total_commits":28,"total_committers":6,"mean_commits":4.666666666666667,"dds":0.6071428571428572,"last_synced_commit":"f3b84ff038e9124cdcd81ef80a9c9864533457c1"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javierbyte%2Freact-number-easing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javierbyte%2Freact-number-easing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javierbyte%2Freact-number-easing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javierbyte%2Freact-number-easing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/javierbyte","download_url":"https://codeload.github.com/javierbyte/react-number-easing/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247445671,"owners_count":20939958,"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":["animation","design-tool","easing","frontend","react","react-number-easing","transition"],"created_at":"2024-07-31T15:01:12.984Z","updated_at":"2025-04-06T07:13:34.468Z","avatar_url":"https://github.com/javierbyte.png","language":"JavaScript","readme":"# [React Number Easing](https://javier.xyz/react-number-easing/)\n\nReact component for fancy number transitions.\n\n[› Online Demo](https://javier.xyz/react-number-easing/).\n\n[![react-number-easing screenshot](assets/number-easing-infinite.gif)](https://javier.xyz/react-number-easing/)\n\n\n## Installation\n\n```js\nnpm install react-number-easing --save\n```\n\n## Usage.\n\n```jsx\nimport NumberEasing from 'react-number-easing';\n\n\u003cNumberEasing\n  value={15}\n  speed={300}\n  decimals={0}\n  ease='quintInOut' /\u003e\n```\n\n### Props\n\n* `value`: The value that you want to display at the end of the animation. This is the target value.\n* `[speed]`: How fast do you want to finish the animation? Defaults to 500ms.\n* `[ease]`: The easing equation for the animation. Defaults to `quintInOut`. You can choose from [mattdesl/eases](https://github.com/mattdesl/eases/blob/master/index.js).\n* `[decimals]`: Number of decimal numbers to show.\n* `[customFunctionRender]`: Function that replaces the default `Number(value).toString(decimals)` render function. It takes one argument `currentRenderValue` which is a `Float` with the current eased value to render and should return a `string`.","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjavierbyte%2Freact-number-easing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjavierbyte%2Freact-number-easing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjavierbyte%2Freact-number-easing/lists"}