# maoberlehner/vuex-map-fields

Enable two-way data binding for form fields saved in a Vuex store

Repository: https://github.com/maoberlehner/vuex-map-fields
Canonical: https://ross.abutalabs.com/products/vuex-map-fields
Language: JavaScript
License: MIT
License Family: permissive
Topics: hacktoberfest
Last push: 2023-10-29T19:35:07+00:00

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

## Adoption (not part of the score)
Stars 1398, forks 80 (observed 2026-08-28T04:04:36.873471+00:00)

## What it is
A Vue.js library that enables two-way data binding for form fields stored in a Vuex store. It generates computed properties with getter and setter functions so inputs can use v-model without directly mutating the store.

## Use cases
- bind form inputs to vuex store with v-model
- manage form state in vuex without mutating store directly
- map nested form fields to vuex state
- sync multi-field forms with vuex getters and mutations
- reduce boilerplate for vuex form bindings

## When to choose
- you use Vue 2 with Vuex and want clean v-model bindings to store state
- you have many form fields and want to avoid writing getter/setter computed properties manually
- your form state includes nested objects or arrays

## When to avoid
- you use Vue 3 with Pinia, which handles this natively
- your forms are simple and local component state suffices
- you need a solution actively developed for modern Vue ecosystems

## Facets
- artifact type: library
- maturity: maintenance
- function: state-management, form-handling
- domain: frontend, web-development
- platform: browser
- tags: vue, vuex, two-way-data-binding, forms, nodejs

## Member repositories
- maoberlehner/vuex-map-fields (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:36.873471+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-30T04:39:13.665413+00:00, confidence not recorded.
  - readme: https://github.com/maoberlehner/vuex-map-fields (fetched 2026-08-28T04:04:36.873471+00:00, sha 6bbbd9b3ef01)
  - registry_npm: https://registry.npmjs.org/vuex-map-fields (fetched 2026-08-29T11:53:46.614757+00:00, sha 5aeacfa47d5f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
