CrabScout. The best software around.
Search

Undici

Make HTTP requests from Node.js or mock those requests during testing.

nodejs · Web and apps

GitHub projectOpen source Open on GitHub

How to try it

In a Node.js project, install [email protected]. Use a mock transport to return a fictional stock count without network access.

What we tested

8.13.1. Use a mock transport to return a fictional stock count without network access. Returned the sample JSON through a mock transport with network access disabled.

Reviews

Rate this repo

More to explore

  • cattrsConvert Python records to and from simple dictionary data.GitHub projectOpen source
  • h2 for PythonBuild and parse HTTP/2 messages from Python.GitHub projectOpen source
  • Go QuerystringBuild URL query parameters from fields of a Go structure.GitHub projectOpen source

Share

What the labels mean

Save to your library