bump version

This commit is contained in:
Randall Schmidt 2020-04-17 17:02:32 -04:00
parent 6459ef1d33
commit 3914d35b82
2 changed files with 3 additions and 3 deletions

View File

@ -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**.

View File

@ -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": {