node-mocks-http 1.12.1

Mock 'http' objects for testing Express routing functions

node-mocks-http@1.12.1 was published on 2022-11-11. Its manifest declares 10 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=0.6.

All node-mocks-http versions · Permanent reference to 1.12.1 · Latest release

Package specifications

Version1.12.1
License declarationMIT
Published2022-11-11T13:21:12.076Z
Node.js requirement>=0.6
Type declarationsBundled declarations
Runtime dependency count10
Peer requirement count0
Optional dependency count0
Minified sizeMeasurement not available yet
Minified + gzipMeasurement not available yet
Unpacked distribution size70.56 KiB
Published file count17
Package typeNot declared
ES module entryNot declared
Default entry./lib/http-mock.js
Side effects declarationNot declared
Direct advisories0
Resolved graph dependencies15
Repository starsUnknown
Repository forksUnknown

Install node-mocks-http 1.12.1

npm install node-mocks-http@1.12.1
pnpm add node-mocks-http@1.12.1
yarn add node-mocks-http@1.12.1

Runtime dependencies

Peer requirements

  • None declared

Optional dependencies

  • None declared

Resolved dependency graph

This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.

How to interpret the specifications

Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.

Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.

Evidence and freshness