nock

Mocker

A library that enables testing and mocking of HTTP requests in Node.js applications

HTTP server mocking and expectations library for Node.js

GitHub

13k stars
93 watching
738 forks
Language: JavaScript
last commit: over 1 year ago
Linked from 1 awesome list

httpjavascriptmocknocknode

Backlinks from these awesome lists:

Related projects:

Repository Description Stars
node-fetch/node-fetch A module that enables a standard HTTP client API on Node.js 8,807
request/request A simple HTTP client for making requests with built-in support for streaming, headers, and redirects. 25,678
sindresorhus/got A powerful HTTP client library for Node.js that provides a human-friendly and flexible way to make requests. 14,351
wiremock/wiremock A tool for mocking HTTP services in development and testing environments 6,410
sindresorhus/ky A tiny and elegant HTTP client based on the Fetch API 14,007
bblimke/webmock A library that enables stubbing and setting expectations on HTTP requests in Ruby applications 3,979
axios/axios An HTTP client library for making requests to web servers using the Promise API. 105,978
http-party/http-server A command-line HTTP server that serves static files without configuration 13,696
matthew-andrews/isomorphic-fetch Enables cross-browser compliant use of the Fetch API in Node and browser environments. 6,952
h2non/gock Tools for mocking and testing HTTP traffic in Go 2,116
expressjs/morgan A middleware that logs HTTP requests and responses in various formats. 7,971
alexfernandez/loadtest A tool that simulates real-world loads on web servers to test performance under various conditions 2,588
jakechampion/fetch A polyfill for the Fetch API in web browsers 25,751
openfeign/feign Simplifies the process of writing Java HTTP clients by providing a simpler and more flexible way to interact with web services. 9,529
kevinsawicki/http-request A simple convenience library for using HttpURLConnection to make requests and access the response. 3,360