Preparing for system design interviews?  Try bugzed.com →

TypeScript Mock Builder

JSON →
library 1.0.3 ·javascript
verified Jun 17, 2026

mock-build is a TypeScript library that facilitates the creation of reusable mock objects using the builder pattern, primarily for testing purposes. It is currently at version 1.0.3 and appears to follow a release cadence driven by patches and minor improvements, as indicated by its recent release history since its initial v1.0.0 launch. Key differentiators include its fluent API for constructing complex objects, support for template objects to base mocks on existing data, and a `strictMockBuilder` variant that enforces initialization of all properties, helping to prevent partial or invalid mock states. The library focuses on enhancing readability and maintainability of test data setup in TypeScript projects. It targets Node.js version 18.12 and above, and ships with full TypeScript type definitions.

total hits 10
actors 4 distinct systems
last hit 18d ago AhrefsBot
GPTBot
4
Script
1
ChatGPT-User
1

top countries 🇨🇦 Canada · 🇺🇸 United States · 🇩🇪 Germany · 🇵🇱 Poland