From 2e7c35a34cd734a0597b77bf303bb0b9131da982 Mon Sep 17 00:00:00 2001 From: Randall Schmidt Date: Fri, 11 Jun 2021 16:38:23 -0400 Subject: [PATCH] add blob support --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 429ff1a..113c7f4 100644 --- a/README.md +++ b/README.md @@ -46,6 +46,10 @@ Returns the body as a JavaScript object, parsed from JSON, same as [node-fetch]( Returns the body as a Buffer, same as [node-fetch](https://www.npmjs.com/package/node-fetch). +### async CachedResponse.blob() + +Returns the body as a Blob, same as [node-fetch](https://www.npmjs.com/package/node-fetch). + ### CachedResponse.status Returns the HTTP status code of the response, same as [node-fetch](https://www.npmjs.com/package/node-fetch).