Skip to content

Mockmate v1.0.0

Choose a tag to compare

@monokkai monokkai released this 07 Jan 22:21
· 20 commits to main since this release

πŸš€ 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,
  },
});