# vuex-orm/vuex-orm

The Vuex plugin to enable Object-Relational Mapping access to the Vuex Store.

Repository: https://github.com/vuex-orm/vuex-orm
Canonical: https://ross.abutalabs.com/products/vuex-orm
Homepage: https://vuex-orm.org
Language: TypeScript
License: MIT
License Family: permissive
Topics: vue, vuex, vuex-plugin, orm, vuex-orm
Last push: 2022-12-10T17:16:42+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": 3365, "days_push": 1362, "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 2317, forks 158 (observed 2026-08-28T04:06:36.932285+00:00)

## What it is
Vuex ORM is a plugin for Vuex that enables Object-Relational Mapping access to the Vuex Store, letting you define normalized data schemas with relationships like 'Has One' and 'Belongs To Many'. It provides a fluent API to get, search, and update store state, inspired by Redux's normalizing state shape recipe.

## Use cases
- manage relational data in a vuex store
- normalize nested api responses in vue app state
- define models with relationships in vuex
- query and filter normalized store data
- avoid duplicating entities across vuex modules
- handle has-many and belongs-to relations in frontend state

## When to choose
- you use Vue 2 with Vuex and need structured, relational client-side state
- your app consumes nested API data that should be normalized in the store
- you want ORM-style models and relationships instead of raw Vuex modules

## When to avoid
- you are starting a new project - the README recommends Vuex ORM Next instead
- you use Pinia or Vue 3, where Vuex ORM is not the standard approach
- you need a server-side or real database ORM - this only manages in-memory store state

## Facets
- artifact type: library
- maturity: maintenance
- function: orm, state-management, plugin-system
- domain: frontend, web-development, databases
- platform: browser
- tags: vuex, vue, normalized-state, typescript, vuex-plugin, nodejs, javascript

## Member repositories
- vuex-orm/vuex-orm (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:36.932285+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-30T02:38:56.629191+00:00, confidence not recorded.
  - readme: https://github.com/vuex-orm/vuex-orm (fetched 2026-08-28T04:06:36.932285+00:00, sha c2da544a8afe)
  - homepage: https://vuex-orm.org (fetched 2026-08-29T10:19:34.822410+00:00, sha 61129a9c2928)
  - site_page: https://vuex-orm.org/guide/prologue/installation.html (fetched 2026-08-29T10:19:34.831225+00:00, sha 79562dde554b)
  - site_page: https://vuex-orm.org/guide/prologue/getting-started.html (fetched 2026-08-29T10:19:34.833586+00:00, sha c508c962ef74)
- Data as of 2026-08-30T08:39:29.467469+00:00.
