Ross ROSS = Recommend OSS · open-source software intelligence for agents

TrySound/rifm

Some data may be outdated — see provenance labels.

Small react hook and component for building formatted and masked inputs observed · 2026-10-01

github.com/TrySound/rifm · homepage · TypeScript · MIT (permissive) observed · 2026-10-01

Health v2 · maintenance only

94/100

  • Activity 94
  • Release rhythm 92
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.

  • gap_med: 3
  • age_days: 3029
  • days_rel: 52
  • days_push: 40
  • n_releases_24m: 2

Full methodology

Adoption not part of the score

1389 stars · 37 forks observed · 2026-10-01

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

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.

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

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

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

Facets

library · maturity stable

ui-components form-handling frontend-framework frontend web-development developer-tools browser cross-platform react-hook input-masking input-formatting cursor-position render-prop typescript dependency-free nodejs

3 sources

Member repositories

RepositoryRoleHealth v2
TrySound/rifmmain94

For agents

markdown · JSON · MCP: product_card(name="TrySound/rifm")

Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem