Skip to content

Quickly generate mock data based on the structure of your TypeScript interfaces.

Notifications You must be signed in to change notification settings

zzcyes/ts2mock-web

Repository files navigation

ts2mock-web

English | 简体中文

ts2mock-web is a TypeScript interface parsing project for generating Mock data and Mock functions.

Demo

demo

Features

  • Parse TypeScript interfaces
  • Generate Mock data
  • Generate Mock functions
  • Provide client interface for interaction
  • Support server-side processing

Installation

This project only supports package management using pnpm.

  1. Make sure pnpm is installed. If not, run:
npm install -g pnpm
  1. Clone the project repository:
git clone https://github.com/zzcyes/ts2mock-web.git
cd ts2mock-web
  1. Install dependencies:
pnpm install

Usage

Start the development server:

pnpm start

About

Quickly generate mock data based on the structure of your TypeScript interfaces.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages