thoughtbot/fishery
A library for setting up JavaScript objects as test data observed · 2026-08-28
Health v2 · maintenance only
68/100
- Activity 69
- Release rhythm 48
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 88
- age_days: 2791
- days_rel: 268
- days_push: 188
- n_releases_24m: 4
Adoption not part of the score
1027 stars · 41 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Fishery is a TypeScript-first library for defining factories that build JavaScript objects as test data, inspired by Ruby's factory_bot. It supports typed parameters, sequences, associations, and async object creation.
Use cases
- generate test data for unit tests
- create typed factory objects in TypeScript tests
- set up mock objects with associations
- seed test fixtures with sequences
- replace factory_bot in JavaScript projects
- build test data with async database persistence
When to choose
- you need typed, reusable test data factories in a TypeScript project
- you want a factory_bot-style API for JavaScript
- your tests need consistent, overridable object fixtures
When to avoid
- you need full mock/stub functionality rather than plain data objects
- you want auto-generated fake data like names or emails (use faker instead)
- your project is not JavaScript/TypeScript
Facets
library · maturity active
testing mocking data-generation testing developer-tools web-development test-data factories factory-bot typescript nodejs javascript
2 sources
- readme: https://github.com/thoughtbot/fishery · fetched 2026-08-28 · 90c8051f6353
- registry_npm: https://registry.npmjs.org/fishery · fetched 2026-08-29 · 5b7c6a9ee203
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| thoughtbot/fishery | main | 68 |
For agents
markdown · JSON · MCP: product_card(name="thoughtbot/fishery")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem