axios-mock-middleware
v0.0.0-alpha1
Published
Mock HTTP requests for testing purposes.
Readme
axios-mock-middleware
axios-mock-middleware is a lightweight middleware for mocking HTTP requests in Node.js applications. It allows developers to easily set up mock responses for testing purposes without making actual network requests.
Installation
To install axios-mock-middleware, run the following command:
npm install axios-mock-middlewareFeatures
- Easy setup and configuration
- Supports various HTTP methods (GET, POST, PUT, DELETE, etc.)
- Allows for custom response handlers
- Works seamlessly with popular HTTP client libraries like Axios
Contributing
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
License
This project is licensed under the MIT License. See the LICENSE file for more information.
