export cookieJar, class CookieJar and class Cookie in index.mjs

This commit is contained in:
jkhsjdhjs 2019-08-17 05:39:31 +02:00
parent afa7151e6a
commit ff7aaf3706
Signed by: jkhsjdhjs
GPG Key ID: BAC6ADBAB7D576CC

View File

@ -1,5 +1,6 @@
import fetch from "./fetch";
import CookieJar from "./cookie-jar";
import Cookie from "./cookie";
const cookieJar = new CookieJar();
@ -27,3 +28,5 @@ export default async function cookieFetch(url, options) {
return result;
}
export {cookieJar, CookieJar, Cookie};