Fishery Test Data Factories

JSON →
library 2.4.0 ·javascript
verified May 27, 2026

Fishery is a JavaScript and TypeScript library designed to streamline the creation of test data objects, heavily inspired by the Ruby `factory_bot` gem. It simplifies the process of generating complex objects with sensible default values, while allowing for easy overrides to suit specific test cases. The library is currently at version 2.4.0 and maintains an active release cadence, with multiple minor and patch updates rolled out over the past year, indicating consistent development and bug fixes. Its core differentiator lies in its strong TypeScript support, providing comprehensive type-checking during factory definition and object instantiation. This ensures type safety and data validity within testing environments, making it a robust choice for projects utilizing TypeScript. It supports both synchronous `build` operations and asynchronous `create` operations, enabling integration with database or other async data persistence layers.

total hits 13
actors 6 distinct systems
last hit 6d ago AhrefsBot
MetaBot
4
GPTBot
2
Script
1
ClaudeBot
1

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇫🇷 France · 🇩🇪 Germany