{"id":18800622,"url":"https://github.com/bitovi/react-numerics","last_synced_at":"2026-01-03T22:30:13.375Z","repository":{"id":37086944,"uuid":"500911139","full_name":"bitovi/react-numerics","owner":"bitovi","description":"Fields that display formatted numbers such as currency or telephone numbers.","archived":false,"fork":false,"pushed_at":"2023-05-15T21:26:11.000Z","size":1804,"stargazers_count":0,"open_issues_count":5,"forks_count":1,"subscribers_count":25,"default_branch":"main","last_synced_at":"2025-01-30T22:21:35.409Z","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/bitovi.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}},"created_at":"2022-06-07T16:04:35.000Z","updated_at":"2022-06-07T18:26:07.000Z","dependencies_parsed_at":"2024-11-07T22:20:21.567Z","dependency_job_id":"b0617332-1f7a-4de6-9bc1-becbc1fd2138","html_url":"https://github.com/bitovi/react-numerics","commit_stats":{"total_commits":38,"total_committers":6,"mean_commits":6.333333333333333,"dds":"0.26315789473684215","last_synced_commit":"4222aa0c8ef88784867ee09ca62fb1a100cd625c"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitovi%2Freact-numerics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitovi%2Freact-numerics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitovi%2Freact-numerics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitovi%2Freact-numerics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bitovi","download_url":"https://codeload.github.com/bitovi/react-numerics/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239734448,"owners_count":19688255,"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":[],"created_at":"2024-11-07T22:19:25.816Z","updated_at":"2026-01-03T22:30:13.322Z","avatar_url":"https://github.com/bitovi.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-numerics\n\nA library of React components to render input fields that simplify displaying\nformatted numbers such as currency or telephone numbers.\n\n## Need help or have questions?\n\nThis project is supported by [Bitovi, an end-to-end JavaScript\nconsultancy](https://www.bitovi.com/frontend-javascript-consulting/react-consulting)\nspecializing in React. You can get help or ask questions on our:\n\n- [Discord Channel](https://discord.gg/fBA4HKABve)\n- [Twitter](https://twitter.com/bitovi)\n\nOr, you can hire us for training, consulting, or development. [Set up a free\nconsultation.](https://www.bitovi.com/frontend-javascript-consulting/react-consulting)\n\n## Install \u0026 Usage\n\nSee the [@bitovi/react-numerics\ndocumentation](https://bitovi.github.io/react-numerics/) for details on\ninstalling and using the library.\n\n## Publish\n\nExecute the following steps starting in the workspace root directory (same as\nthis file).\n\n- Bump the \"libs/react-numerics/package.json\" version field.\n- Update the documentation `yarn typedoc`.\n- Delete the `dist` directory.\n- Build the library: `yarn build`.\n- `cd` into the \"dist/libs/react-numerics\" directory.\n- Run `npm publish --access=public`.\n\n## Architecture\n\nThere are three high-level things to know:\n\n- The string values passed to the components via the `numericValue` property may\n  only contain the non-digit characters '-' '.' or a digit: 0-9. If the string\n  represents a number the integer and fractional parts of the number must be\n  separated by a '.'. The value provided by `onNumericChange` follows these same\n  rules.\n- The first step in processing user input is to remove any characters that are\n  not allowed for the specific numeric implementation. This is done using a\n  function that implements the `Filter` interface.\n- To create a number for display, functions that implement the `Format`\n  interface are provided to the numeric component.\n\n## We want to hear from you\n\nCome chat with us about open source in our community\n[Discord](https://discord.gg/fBA4HKABve).\n\nSee what we're up to by following us on [Twitter](https://twitter.com/bitovi).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitovi%2Freact-numerics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitovi%2Freact-numerics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitovi%2Freact-numerics/lists"}