readme: options are optional in fetch function

This commit is contained in:
jkhsjdhjs 2019-11-25 07:09:08 +01:00
parent 2483a809fa
commit d11471260c
Signed by: jkhsjdhjs
GPG Key ID: BAC6ADBAB7D576CC

View File

@ -49,7 +49,7 @@ import {fetch, CookieJar} from "node-fetch-cookies";
## Documentation
### async fetch(cookieJar, url, options)
### async fetch(cookieJar, url[, options])
- `cookieJar` A [CookieJar](#class-cookiejar) instance, an array of CookieJar instances or null, if you don't want to send or store cookies.
- `url` and `options` as in https://github.com/bitinn/node-fetch#fetchurl-options