readme: add missing comma
This commit is contained in:
parent
c02cf8b539
commit
2483a809fa
|
@ -63,7 +63,7 @@ A class that stores cookies.
|
||||||
- `file` The path of the cookie jar on the disk.
|
- `file` The path of the cookie jar on the disk.
|
||||||
- `cookies` A [Map](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map) mapping hostnames to maps, which map cookie names to the respective [Cookie](#class-cookie) instance.
|
- `cookies` A [Map](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map) mapping hostnames to maps, which map cookie names to the respective [Cookie](#class-cookie) instance.
|
||||||
|
|
||||||
#### new CookieJar([file, flags = `rw` cookies])
|
#### new CookieJar([file, flags = `rw`, cookies])
|
||||||
- `file` An optional string containing a relative or absolute path to the file on the disk to use.
|
- `file` An optional string containing a relative or absolute path to the file on the disk to use.
|
||||||
- `flags` An optional string specifying whether cookies should be read and/or written from/to the jar when passing it as parameter to [fetch](#fetchcookiejar-url-options). Default: `rw`
|
- `flags` An optional string specifying whether cookies should be read and/or written from/to the jar when passing it as parameter to [fetch](#fetchcookiejar-url-options). Default: `rw`
|
||||||
- `r`: only read from this jar
|
- `r`: only read from this jar
|
||||||
|
|
Loading…
Reference in New Issue
Block a user