diff --git a/README.md b/README.md index f36376c..151736c 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ npm i chrome-cookie const ChromeCookie = require('chrome-cookie'); -const cookie = await ChromeCookie.getCookie('https://github.com'); +const cookie = await new ChromeCookie().getCookie('https://github.com'); console.log(cookie); diff --git a/package.json b/package.json index 9ab021d..540e30c 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,8 @@ }, "files": [ "index.js", - "lib/" + "lib/", + "cookie.json" ], "repository": { "type": "git",