Repository navigation
Mockmate v1.0.0
π Mockmate v1.0.0 β First Stable Release
π Mockmate officially reaches v1.0.0!
This release marks the first stable, production-ready version of the library.
Mockmate is a lightweight, type-safe mock data generator for JavaScript & TypeScript β built for developers who need fast, flexible fake data without heavy dependencies.
β¨ Whatβs New in v1.0.0
π§© Schema-based Generator (NEW)
Generate fully custom mock data using a schema of functions:
import { generate } from "@mockmate/mockmate";
const users = await generate({
quantity: 3,
schema: {
id: () => crypto.randomUUID(),
username: () => `user_${Math.random().toString(36).slice(2)}`,
age: () => Math.floor(Math.random() * 50) + 18,
},
});