# Install http-request-mock with npm

Intercept & mock http requests issued by XMLHttpRequest, fetch, nodejs https/http module, axios, jquery, superagent, ky, node-fetch, request, got or any other request libraries by intercepting XMLHttpRequest, fetch and nodejs native requests in low level. Version 2.0.2 via npm; verified 2024-10-16.

## Install

```sh
sudo av install npm:http-request-mock
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g http-request-mock
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:http-request-mock
- **Package manager:** npm
- **Version:** 2.0.2
- **Source summary:** Intercept & mock http requests issued by XMLHttpRequest, fetch, nodejs https/http module, axios, jquery, superagent, ky, node-fetch, request, got or any other request libraries by intercepting XMLHttpRequest, fetch and nodejs native requests in low level.
- **Homepage:** <https://huturen.github.io/http-request-mock-docs/>
- **Last updated:** 2024-10-16T14:39:23.220Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- http-request-mock (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 2.0.2

## Security Notes

No matching local secret-handling manifest was found for http-request-mock. Nucleus package metadata is still published here so future coverage has a stable package URL.



## Sources

- pkg.so package database
- pkgdb category and tag curation
- cross-ecosystem install command graph
