{"adoption": {"forks": 37, "observed_at": "2026-08-28T04:04:19.516337+00:00", "stars": 1309}, "canonical_url": "https://ross.abutalabs.com/products/rifm", "card": {"archived": false, "artifact_type": "library", "description": "Small react hook and component for building formatted and masked inputs", "domain": ["frontend", "web-development", "developer-tools"], "enriched": true, "function": ["ui-components", "form-handling", "frontend-framework"], "health_score": 100, "homepage": "https://trysound.github.io/rifm/", "language": "TypeScript", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["TrySound/rifm"], "name": "TrySound/rifm", "platform": ["browser", "cross-platform"], "pushed_at": "2026-08-26T15:16:36+00:00", "repo": "TrySound/rifm", "stars": 1309, "tags": ["react-hook", "input-masking", "input-formatting", "cursor-position", "render-prop", "typescript", "dependency-free", "nodejs"], "topics": [], "urls": [], "use_cases": ["format currency or number inputs with thousand separators in react", "mask phone number input as user types", "add date input mask without losing cursor position", "format credit card number input in react", "enforce casing rules in a text input", "build masked inputs for custom design system components"], "what_it_is": "Rifm is a tiny, dependency-free React hook and render-prop component for building formatted and masked text inputs while preserving cursor position. It works with native inputs and custom input components, supporting number, phone, date, and other value formatting.", "when_to_avoid": ["you need type=number or type=date inputs, which Rifm does not support", "you need full form state management and validation, not just input formatting", "you are not using React 16.8 or newer"], "when_to_choose": ["you need cursor-aware input formatting in React with a tiny footprint", "you want a dependency-free mask solution that works with any input component", "you prefer a simple hook or render-prop API over heavyweight form libraries"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/rifm", "repo": "TrySound/rifm", "role": "main", "score": 88}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:19.516337+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T04:49:58.205033+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4d525f308a0a52033ca23b3a00881333730a9b07b80dfaf7a0ce3ed5a9eef3ba", "fetched_at": "2026-08-28T04:04:19.516337+00:00", "kind": "readme", "missing": false, "url": "https://github.com/TrySound/rifm"}, {"content_hash": "911b35ffdb345c3f1e255a4c9f797ec3294881ba4c6f4f2ea24a94bdeb3f675e", "fetched_at": "2026-08-29T12:08:21.014564+00:00", "kind": "homepage", "missing": false, "url": "https://trysound.github.io/rifm/"}, {"content_hash": "c0dd6fa5476fde6113ed40ca934ba355a1a3420043dfaa6f7385fff891261394", "fetched_at": "2026-08-29T12:08:21.023512+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/rifm"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:19.516337+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T04:49:58.205033+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4d525f308a0a52033ca23b3a00881333730a9b07b80dfaf7a0ce3ed5a9eef3ba", "fetched_at": "2026-08-28T04:04:19.516337+00:00", "kind": "readme", "missing": false, "url": "https://github.com/TrySound/rifm"}, {"content_hash": "911b35ffdb345c3f1e255a4c9f797ec3294881ba4c6f4f2ea24a94bdeb3f675e", "fetched_at": "2026-08-29T12:08:21.014564+00:00", "kind": "homepage", "missing": false, "url": "https://trysound.github.io/rifm/"}, {"content_hash": "c0dd6fa5476fde6113ed40ca934ba355a1a3420043dfaa6f7385fff891261394", "fetched_at": "2026-08-29T12:08:21.023512+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/rifm"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T04:49:58.205033+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4d525f308a0a52033ca23b3a00881333730a9b07b80dfaf7a0ce3ed5a9eef3ba", "fetched_at": "2026-08-28T04:04:19.516337+00:00", "kind": "readme", "missing": false, "url": "https://github.com/TrySound/rifm"}, {"content_hash": "911b35ffdb345c3f1e255a4c9f797ec3294881ba4c6f4f2ea24a94bdeb3f675e", "fetched_at": "2026-08-29T12:08:21.014564+00:00", "kind": "homepage", "missing": false, "url": "https://trysound.github.io/rifm/"}, {"content_hash": "c0dd6fa5476fde6113ed40ca934ba355a1a3420043dfaa6f7385fff891261394", "fetched_at": "2026-08-29T12:08:21.023512+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/rifm"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:04:19.516337+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:19.516337+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:19.516337+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T04:49:58.205033+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4d525f308a0a52033ca23b3a00881333730a9b07b80dfaf7a0ce3ed5a9eef3ba", "fetched_at": "2026-08-28T04:04:19.516337+00:00", "kind": "readme", "missing": false, "url": "https://github.com/TrySound/rifm"}, {"content_hash": "911b35ffdb345c3f1e255a4c9f797ec3294881ba4c6f4f2ea24a94bdeb3f675e", "fetched_at": "2026-08-29T12:08:21.014564+00:00", "kind": "homepage", "missing": false, "url": "https://trysound.github.io/rifm/"}, {"content_hash": "c0dd6fa5476fde6113ed40ca934ba355a1a3420043dfaa6f7385fff891261394", "fetched_at": "2026-08-29T12:08:21.023512+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/rifm"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:19.516337+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:19.516337+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T04:49:58.205033+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4d525f308a0a52033ca23b3a00881333730a9b07b80dfaf7a0ce3ed5a9eef3ba", "fetched_at": "2026-08-28T04:04:19.516337+00:00", "kind": "readme", "missing": false, "url": "https://github.com/TrySound/rifm"}, {"content_hash": "911b35ffdb345c3f1e255a4c9f797ec3294881ba4c6f4f2ea24a94bdeb3f675e", "fetched_at": "2026-08-29T12:08:21.014564+00:00", "kind": "homepage", "missing": false, "url": "https://trysound.github.io/rifm/"}, {"content_hash": "c0dd6fa5476fde6113ed40ca934ba355a1a3420043dfaa6f7385fff891261394", "fetched_at": "2026-08-29T12:08:21.023512+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/rifm"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:19.516337+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:19.516337+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:19.516337+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T04:49:58.205033+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4d525f308a0a52033ca23b3a00881333730a9b07b80dfaf7a0ce3ed5a9eef3ba", "fetched_at": "2026-08-28T04:04:19.516337+00:00", "kind": "readme", "missing": false, "url": "https://github.com/TrySound/rifm"}, {"content_hash": "911b35ffdb345c3f1e255a4c9f797ec3294881ba4c6f4f2ea24a94bdeb3f675e", "fetched_at": "2026-08-29T12:08:21.014564+00:00", "kind": "homepage", "missing": false, "url": "https://trysound.github.io/rifm/"}, {"content_hash": "c0dd6fa5476fde6113ed40ca934ba355a1a3420043dfaa6f7385fff891261394", "fetched_at": "2026-08-29T12:08:21.023512+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/rifm"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:19.516337+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:19.516337+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T04:49:58.205033+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4d525f308a0a52033ca23b3a00881333730a9b07b80dfaf7a0ce3ed5a9eef3ba", "fetched_at": "2026-08-28T04:04:19.516337+00:00", "kind": "readme", "missing": false, "url": "https://github.com/TrySound/rifm"}, {"content_hash": "911b35ffdb345c3f1e255a4c9f797ec3294881ba4c6f4f2ea24a94bdeb3f675e", "fetched_at": "2026-08-29T12:08:21.014564+00:00", "kind": "homepage", "missing": false, "url": "https://trysound.github.io/rifm/"}, {"content_hash": "c0dd6fa5476fde6113ed40ca934ba355a1a3420043dfaa6f7385fff891261394", "fetched_at": "2026-08-29T12:08:21.023512+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/rifm"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T04:49:58.205033+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4d525f308a0a52033ca23b3a00881333730a9b07b80dfaf7a0ce3ed5a9eef3ba", "fetched_at": "2026-08-28T04:04:19.516337+00:00", "kind": "readme", "missing": false, "url": "https://github.com/TrySound/rifm"}, {"content_hash": "911b35ffdb345c3f1e255a4c9f797ec3294881ba4c6f4f2ea24a94bdeb3f675e", "fetched_at": "2026-08-29T12:08:21.014564+00:00", "kind": "homepage", "missing": false, "url": "https://trysound.github.io/rifm/"}, {"content_hash": "c0dd6fa5476fde6113ed40ca934ba355a1a3420043dfaa6f7385fff891261394", "fetched_at": "2026-08-29T12:08:21.023512+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/rifm"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T04:49:58.205033+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4d525f308a0a52033ca23b3a00881333730a9b07b80dfaf7a0ce3ed5a9eef3ba", "fetched_at": "2026-08-28T04:04:19.516337+00:00", "kind": "readme", "missing": false, "url": "https://github.com/TrySound/rifm"}, {"content_hash": "911b35ffdb345c3f1e255a4c9f797ec3294881ba4c6f4f2ea24a94bdeb3f675e", "fetched_at": "2026-08-29T12:08:21.014564+00:00", "kind": "homepage", "missing": false, "url": "https://trysound.github.io/rifm/"}, {"content_hash": "c0dd6fa5476fde6113ed40ca934ba355a1a3420043dfaa6f7385fff891261394", "fetched_at": "2026-08-29T12:08:21.023512+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/rifm"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T04:49:58.205033+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4d525f308a0a52033ca23b3a00881333730a9b07b80dfaf7a0ce3ed5a9eef3ba", "fetched_at": "2026-08-28T04:04:19.516337+00:00", "kind": "readme", "missing": false, "url": "https://github.com/TrySound/rifm"}, {"content_hash": "911b35ffdb345c3f1e255a4c9f797ec3294881ba4c6f4f2ea24a94bdeb3f675e", "fetched_at": "2026-08-29T12:08:21.014564+00:00", "kind": "homepage", "missing": false, "url": "https://trysound.github.io/rifm/"}, {"content_hash": "c0dd6fa5476fde6113ed40ca934ba355a1a3420043dfaa6f7385fff891261394", "fetched_at": "2026-08-29T12:08:21.023512+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/rifm"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 67}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2981, "days_push": 7, "days_rel": 7, "gap_med": null, "n_releases_24m": 1}, "score": 88, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}