mswjs/data
Some data may be outdated — see provenance labels.
Data querying library for testing JavaScript applications. observed · 2026-09-22
Health v2 · maintenance only
94/100
- Activity 92
- Release rhythm 93
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 1
- age_days: 2142
- days_rel: 51
- days_push: 51
- n_releases_24m: 12
Adoption not part of the score
1064 stars · 67 forks observed · 2026-09-22
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-22 · 429564444845
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mswjs/data | main | 94 |
For agents
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem