From 730ffaf03cb73e14d1ade36d5cf9e6e3d316bcc1 Mon Sep 17 00:00:00 2001 From: jkhsjdhjs Date: Mon, 14 Jan 2019 04:48:42 +0100 Subject: [PATCH] small edit in readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index dda92ac..9779e60 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ import cookies from "node-fetch-cookies"; // "rw" are the flags, meaning cookies will be read and written from/to the cookie jar. r = read, w = write // second argument is the filename, can also be undefined if you don't want to read/write the cookies from/to a file let cookieJar = new cookies.CookieJar("rw", "path/to/file.json"); -// first parameter is the url, second the options, just like node-fetch. third parameter is the cookie jar +// first parameter is the url, second the options, just like node-fetch. third parameter is the cookie jar (can also be an array) // returns a response object just like node-fetch cookies.fetch("https://example.page/example/path", null, cookieJar); ```