axios-mock-middleware

0.0.0-alpha1 • Public • Published

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-middleware

Features

  • 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.

Readme

Keywords

none

Package Sidebar

Install

npm i axios-mock-middleware

Weekly Downloads

85

Version

0.0.0-alpha1

License

MIT

Unpacked Size

54.9 kB

Total Files

3

Last publish

Collaborators

  • anonsheeppatrol