next-api-mock
v1.0.1
Published
A production-ready, scalable tool for mocking API and GraphQL responses in Next.js applications
Downloads
117
Maintainers
Readme
🎭 next-api-mock
A powerful, flexible, and production-ready API mocking library for Next.js applications.
Features • Installation • Quick Start • Documentation • Contributing
🚀 Features
- 🔧 Easy configuration and setup
- 🔄 Support for dynamic and conditional responses
- 📊 Built-in pagination handling
- 🚦 Simulated network conditions (delay, errors)
- 🔍 GraphQL mocking support
- 🖥️ Server Component and Server Action mocking
- 🧩 Flexible middleware and interceptors
- 🗄️ Efficient caching mechanism
📦 Installation
npm install next-api-mock