# gwendall/way.js

Simple, lightweight, persistent two-way databinding

Repository: https://github.com/gwendall/way.js
Canonical: https://ross.abutalabs.com/products/wayjs
Language: JavaScript
License Family: other
Last push: 2024-06-27T19:52:32+00:00

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

## Adoption (not part of the score)
Stars 2866, forks 245 (observed 2026-08-28T04:07:26.664902+00:00)

## What it is
way.js is a lightweight, framework-agnostic JavaScript library for two-way data binding between HTML elements and in-memory data, driven by declarative data attributes. It persists bound data to localStorage so forms and elements are repopulated on page reloads, with no dependencies.

## Use cases
- bind form inputs to data without writing JavaScript
- persist form data across page reloads
- sync HTML element content with a data model
- build quick prototypes with declarative databinding
- serialize form inputs to JSON automatically
- display live-updating values as users type

## When to choose
- you want zero-dependency, attribute-driven two-way binding in vanilla JS
- you need simple form persistence via localStorage
- you're building a small site or prototype without a framework

## When to avoid
- you're using a modern framework with built-in reactivity like React, Vue, or Angular
- you need fine-grained state management or large-scale application state
- you require an actively developed library with a license and ongoing maintenance

## Facets
- artifact type: library
- maturity: maintenance
- function: state-management, form-handling, serialization
- domain: web-development, frontend
- platform: browser
- tags: two-way-databinding, framework-agnostic, localstorage, no-dependencies, data-attributes, nodejs

## Member repositories
- gwendall/way.js (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:26.664902+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-30T07:36:06.968795+00:00, confidence not recorded.
  - readme: https://github.com/gwendall/way.js (fetched 2026-08-28T04:07:26.664902+00:00, sha 449eb313bda2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
