# ktsn/vuex-class

Binding helpers for Vuex and vue-class-component

Repository: https://github.com/ktsn/vuex-class
Canonical: https://ross.abutalabs.com/products/vuex-class
Language: TypeScript
License: MIT
License Family: permissive
Topics: vuex, vue
Archived: true
Last push: 2020-10-12T13:31:47+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3518, "days_push": 2151, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1705, forks 84 (observed 2026-08-28T04:05:24.874763+00:00)

## What it is
vuex-class provides TypeScript decorator-based binding helpers that connect Vuex store state, getters, actions, and mutations to Vue class components built with vue-class-component. It lets developers declare store bindings declaratively with decorators like @State, @Getter, @Action, and @Mutation, including namespaced module support.

## Use cases
- bind vuex state to vue class components with decorators
- use vuex getters in typescript vue components
- access namespaced vuex modules in class-based components
- dispatch vuex actions from vue class component methods
- commit vuex mutations using decorators
- write vue 2 components with class syntax and typed store bindings

## When to choose
- you use Vue 2 with vue-class-component and want decorator-based Vuex bindings
- you want concise, declarative store access in class-style TypeScript components
- you need namespaced module bindings without verbose mapState/mapGetters calls

## When to avoid
- you use Vue 3 with the Composition API or Pinia
- you prefer Options API with mapState/mapGetters helpers
- you need a library under active development - the project has not released since 2020

## Facets
- artifact type: library
- maturity: maintenance
- function: state-management, middleware
- domain: frontend, web-development, developer-tools
- platform: -
- tags: vue, vuex, typescript-decorators, class-components, vue2, nodejs, web-server

## Member repositories
- ktsn/vuex-class (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:24.874763+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-30T03:37:32.042326+00:00, confidence not recorded.
  - readme: https://github.com/ktsn/vuex-class (fetched 2026-08-28T04:05:24.874763+00:00, sha a1eb45c00a98)
  - registry_npm: https://registry.npmjs.org/vuex-class (fetched 2026-08-29T11:12:03.002111+00:00, sha 12dff5e82df0)
- Data as of 2026-08-30T08:39:29.467469+00:00.
