mswjs/data
Data querying library for testing JavaScript applications. observed · 2026-09-01
Health v2 · maintenance only
100/100
- Activity 100
- Release rhythm 100
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 2.5
- age_days: 2094
- days_rel: 3
- days_push: 3
- n_releases_24m: 13
Adoption not part of the score
1061 stars · 66 forks observed · 2026-09-01
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A data querying library for testing JavaScript applications that lets developers define schema-based collections and query them with an ORM-inspired syntax. It works standalone or alongside Mock Service Worker to mock data at both the network and data layers.
Use cases
- create test fixtures for javascript tests
- mock database layer in unit tests
- seed test data with faker
- query in-memory test records with prisma-like syntax
- mock api responses with msw and test data
- model relational test data with relations
When to choose
- you need realistic, schema-validated test data in JavaScript/TypeScript apps
- you use Mock Service Worker and want consistent data and network mocking
- you want ORM-style querying of fixtures without a real database
When to avoid
- you need a real persistent database or production ORM
- your tests don't involve data modeling or fixtures
- you work outside the JavaScript/TypeScript ecosystem
Facets
library · maturity active
mocking testing data-generation testing developer-tools databases browser cross-platform orm-inspired fixtures schema-based msw typescript test-data nodejs
1 source
- readme: https://github.com/mswjs/data · fetched 2026-09-01 · 429564444845
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mswjs/data | main | 100 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem