From 3914d35b82f79bf82d772e1a7306c30213d976af Mon Sep 17 00:00:00 2001 From: Randall Schmidt Date: Fri, 17 Apr 2020 17:02:32 -0400 Subject: [PATCH] bump version --- README.md | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 25fbac0..a649c0e 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ The first request will result in an HTTP request and any subsequent requests wit ## Usage -Use it the same way you would use fetch. +Require it with a path to cache in, and then use it the same way you would use fetch. ```js const fetch = require('node-fetch-cache')('./path/to/cache/dir'); @@ -22,7 +22,7 @@ Note that this is not the full fetch API. Headers and some other things are not ### async fetch(resource [, init]) -Same calling conventions as [browser fetch](https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch). +Same arguments as [browser fetch](https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch). Returns a **CachedResponse**. diff --git a/package.json b/package.json index 56ac08c..8c36997 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "node-fetch-cache", - "version": "1.0.1", + "version": "1.0.2", "description": "node-fetch with a persistent cache.", "main": "index.js", "scripts": {