New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

schemaghost

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

schemaghost

Instant mock API server from database schema

latest
npmnpm
Version
0.1.0-beta.0
Version published
Maintainers
1
Created
Source

SchemaGhost

Instantly generate a fake API server from your Prisma or database schema.
Develop faster with realistic mock APIs — no backend required.

npm version

What is SchemaGhost?

SchemaGhost is a developer tool that reads your Prisma or database schema and instantly spins up a fully mocked REST API server.
No need to build a backend or write mocks by hand — SchemaGhost understands your data models and relations, serving realistic fake data out of the box.

Key Features

  • Schema-aware: Parses Prisma schemas, understands models, fields, and relations
  • Auto API generation: RESTful endpoints for all models generated dynamically
  • Realistic mock data: Uses smart faker logic for each field type
  • Relations & nested data: Handles one-to-many, many-to-many, and nested fetches
  • Configurable: Customize mock data generation rules with simple config files
  • Zero setup: Just point it to your schema and start developing instantly
  • Supports multiple schemas: Work on monorepos or multiple projects easily
  • Fast & lightweight: Minimal dependencies, perfect for local dev and testing

Installation

npm install -g schemaghost


Keywords

mock

FAQs

Package last updated on 28 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts