@mjackson/node-fetch-server
0.7.0 · 6 Jun 2025MIT2.4M / weekRepositoryHomepagenpmAtom feed
9 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 0.7.x · latest line
0.7.0
6 Jun 2025Add
/srcto npm package, so "go to definition" goes to the actual sourceUse one set of types for all built files, instead of separate types for ESM and CJS
Build using esbuild directly instead of tsup
- 0.6.x
0.6.1
7 Feb 2025Update typings and docs for http/2 support
0.6.0
6 Feb 2025Add http/2 support
- 0.5.x
0.5.1
25 Jan 2025Iterate manually over response bodies in
sendResponseinstead of usingfor await...of. This seems to avoid an issue where the iterator tries to read from a stream after the lock has been released.
0.5.0
9 Dec 2024Expose
createHeaders(req: http.IncomingMessage): HeadersAPI for creating headers from the headers of incoming request objects.Update
sendResponseto use an object to add support for libraries such as express while maintainingnode:httpandnode:httpscompatibility.
- 0.4.x
0.4.1
4 Dec 2024Fix low-level API example in the README
- 0.3.x
0.3.0
20 Nov 2024Added
createRequest(req: http.IncomingMessage, options): RequestandsendResponse(res: http.ServerResponse, response: Response): Promise<void>exports to assist with building custom fetch servers
- 0.2.x
0.2.0
14 Nov 2024Small perf improvement from avoiding accessing
req.headersand readingreq.rawHeadersinsteadAdded CommonJS build
- 0.1.x
0.1.0
5 Sep 2024Initial release
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.