node-mocks-http
v1.16.2
Mock 'http' objects for testing Express, Next.js and Koa routing functions
Install
npm
install
node-mocks-http
Bundle size
Dependencies
Downloads
SVG service
Dependencies
Dependencies
(10)
accepts
^1.3.7
content-disposition
^0.5.3
depd
^1.1.0
fresh
^0.5.2
merge-descriptors
^1.0.1
methods
^1.1.2
mime
^1.3.4
parseurl
^1.3.3
range-parser
^1.2.0
type-is
^1.6.18
Peer Dependencies
(2)
@types/express
^4.17.21 || ^5.0.0
@types/node
*
Dev Dependencies
(18)
@types/chai
^4.3.11
@types/mocha
^10.0.6
@typescript-eslint/eslint-plugin
^6.17.0
@typescript-eslint/parser
^6.17.0
chai
^4.2.0
eslint
^8.56.0
eslint-config-airbnb-base
^15.0.0
eslint-config-prettier
^9.1.0
eslint-plugin-import
^2.29.1
husky
^8.0.3
mocha
^10.2.0
nyc
^15.1.0
prettier
^3.1.1
sinon
^17.0.1
sinon-chai
^3.5.0
ts-node
^10.9.1
tsd
^0.29.0
typescript
^5.3.2