# mikeric/rivets

A lightweight data binding library.

Repository: https://github.com/mikeric/rivets
Canonical: https://ross.abutalabs.com/products/rivets
Language: JavaScript
License: MIT
License Family: permissive
Topics: javascript, coffeescript, databinding, template-engine
Last push: 2026-02-21T13:24:33+00:00

## Health v2 (maintenance only)
Score: 63/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 68, release rhythm 35, longevity 100
- inputs: {"age_days": 5250, "days_push": 193, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3220, forks 300 (observed 2026-08-28T04:07:49.742621+00:00)

## What it is
Rivets.js is a lightweight, framework-agnostic data binding and templating library for building data-driven views in the browser. It subscribes to keypaths on bound objects so that mutating properties automatically and surgically updates the relevant DOM elements.

## Use cases
- bind javascript objects to html views with automatic ui updates
- add declarative templating to a page without a heavy framework
- build data-driven views with custom formatters and binders
- keep dom in sync when mutating nested object properties
- use data binding with any object model via custom adapters

## When to choose
- you want tiny, dependency-free data binding without adopting a full framework
- you need framework-agnostic binding that works with your own models via adapters
- you prefer declarative html templates with custom binders and formatters

## When to avoid
- you need a full component model, virtual dom, or modern reactive ecosystem
- you are starting a new large-scale app where mainstream frameworks offer better tooling and community support
- you need server-side rendering or typescript-first support

## Facets
- artifact type: library
- maturity: maintenance
- function: templating, state-management, frontend-framework
- domain: web-development, frontend
- platform: browser
- tags: data-binding, javascript, coffeescript, declarative-templates, lightweight, nodejs

## Member repositories
- mikeric/rivets (main) score 63

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:49.742621+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:44:21.043907+00:00, confidence not recorded.
  - readme: https://github.com/mikeric/rivets (fetched 2026-08-28T04:07:49.742621+00:00, sha d23e2d70c41f)
  - registry_npm: https://registry.npmjs.org/rivets (fetched 2026-08-29T09:38:06.427217+00:00, sha b23bd40d0607)
- Data as of 2026-08-30T08:39:29.467469+00:00.
