@arkarmintun/api-mocker
v1.0.10
Published
Simple directory-based API mock server
Downloads
14
Maintainers
Readme
Simple API Mocker
A simple, directory-based API mock server that serves JSON responses for your frontend development and testing needs.
Features
- 📁 Directory-based organization that mirrors your API structure
- 🔄 Support for all HTTP methods (GET, POST, PUT, DELETE, etc.)
- 🔍 Dynamic path parameters using
[paramName]directory naming - 📦 Plain JSON responses served as-is
- 🚨 Easy error testing with interactive CLI
- ⏱️ Optional network delay simulation
- 🔄 CORS support
- 🚀 Easy to setup and use
Installation
# Install globally
npm install -g @arkarmintun/api-mocker
# Or use directly with npx
npx @arkarmintun/api-mocker --init