{"_id":"fetch-cookie","_rev":"2955765","name":"fetch-cookie","description":"Decorator for a `fetch` function to support automatic cookies.","dist-tags":{"latest":"2.1.0"},"maintainers":[{"name":"valeriangalliat","email":"val@codejam.info"}],"time":{"modified":"2023-04-27T04:01:41.000Z","created":"2015-05-04T19:06:20.749Z","2.1.0":"2022-07-12T15:03:06.718Z","2.0.5":"2022-05-25T22:59:40.988Z","2.0.4":"2022-05-25T20:30:35.590Z","2.0.3":"2022-03-16T16:00:08.698Z","2.0.2":"2022-03-15T23:54:25.073Z","2.0.1":"2022-03-04T01:10:34.884Z","2.0.0":"2022-02-21T23:33:43.988Z","1.0.1":"2022-02-09T23:50:35.764Z","1.0.0":"2021-06-27T13:37:46.841Z","0.11.0":"2020-11-02T22:26:08.281Z","0.10.1":"2020-06-21T20:03:46.883Z","0.10.0":"2020-06-16T22:21:20.722Z","0.9.1":"2020-05-27T13:04:48.919Z","0.9.0":"2020-05-25T12:11:50.242Z","0.8.0":"2020-03-28T12:36:54.707Z","0.7.3":"2019-07-07T13:24:23.782Z","0.7.2":"2018-07-22T08:18:56.078Z","0.7.1":"2018-07-19T14:07:41.556Z","0.7.0":"2017-09-28T13:23:20.369Z","0.6.0":"2017-03-01T18:15:21.630Z","0.5.0":"2017-02-27T20:15:47.760Z","0.4.1":"2017-02-08T21:12:51.087Z","0.4.0":"2017-02-05T13:30:23.892Z","0.3.0":"2017-01-31T13:47:18.300Z","0.2.0":"2016-11-14T19:14:44.609Z","0.1.4":"2016-08-01T14:03:45.658Z","0.1.3":"2016-07-12T18:34:49.090Z","0.1.2":"2016-05-12T13:48:38.663Z","0.1.1":"2015-05-25T12:22:59.231Z","0.1.0":"2015-05-04T19:06:20.749Z"},"users":{},"author":{"name":"Val","url":"https://val.codejam.info"},"repository":{"type":"git","url":"git+https://github.com/valeriangalliat/fetch-cookie.git"},"versions":{"2.1.0":{"name":"fetch-cookie","version":"2.1.0","description":"Decorator for a `fetch` function to support automatic cookies.","license":"Unlicense","author":{"name":"Val","url":"https://val.codejam.info"},"type":"module","main":"./cjs/index-wrapper.js","module":"./esm/index.js","exports":{"./package.json":"./package.json",".":{"import":{"types":"./esm/index.d.ts","default":"./esm/index.js"},"require":{"types":"./cjs/index.d.ts","default":"./cjs/index-wrapper.js"}}},"types":"esm/index.d.ts","repository":{"type":"git","url":"git+https://github.com/valeriangalliat/fetch-cookie.git"},"scripts":{"build":"esbuild src/*.ts --format=esm --outdir=esm && esbuild src/*.ts --format=cjs --outdir=cjs","lint":"ts-standard src/*.ts test/*.js","patch-undici":"sed -i.old 's/^const forbiddenResponseHeaderNames =.*$/const forbiddenResponseHeaderNames = []/' node_modules/undici/lib/fetch/constants.js","prepack":"npm run prepare && npm run lint && npm run type-check && npm test && npm run test-import","prepare":"npm run build && npm run type-declarations","test":"npm run build && mocha","test-import":"node test/cjs/import.js && ts-node test/cjs/import.ts","type-check":"tsc -noEmit","type-declarations":"tsc --project tsconfig.build.json --declaration --emitDeclarationOnly --outDir esm && cat esm/index.d.ts | sed 's/^export default /export = /' > cjs/index.d.ts"},"dependencies":{"set-cookie-parser":"^2.4.8","tough-cookie":"^4.0.0"},"devDependencies":{"@tsconfig/recommended":"^1.0.1","@types/chai":"^4.3.0","@types/express":"^4.17.13","@types/mocha":"^9.1.0","@types/node":"^17.0.18","@types/node-fetch":"^2.6.1","@types/set-cookie-parser":"^2.4.2","@types/tough-cookie":"^4.0.1","chai":"^4.3.6","esbuild":"^0.14.21","express":"^4.17.3","mocha":"^9.2.0","node-fetch":"^3.2.0","ts-node":"^10.7.0","ts-standard":"^11.0.0","typescript":"^4.5.5","undici":"^4.14.1"},"gitHead":"40eb95500ee2c7d9db27e438448742b8c8ce2fbd","bugs":{"url":"https://github.com/valeriangalliat/fetch-cookie/issues"},"homepage":"https://github.com/valeriangalliat/fetch-cookie#readme","_id":"fetch-cookie@2.1.0","_nodeVersion":"18.3.0","_npmVersion":"8.11.0","dist":{"shasum":"6e127909912f9e527533b045aab555c06b33801b","size":9468,"noattachment":false,"key":"/fetch-cookie/-/fetch-cookie-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/fetch-cookie/download/fetch-cookie-2.1.0.tgz"},"_npmUser":{"name":"valeriangalliat","email":"val@codejam.info"},"directories":{},"maintainers":[{"name":"valeriangalliat","email":"val@codejam.info"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fetch-cookie_2.1.0_1657638186548_0.7349034193510549"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-07-12T16:02:59.672Z","publish_time":1657638186718,"_cnpm_publish_time":1657638186718},"2.0.5":{"name":"fetch-cookie","version":"2.0.5","description":"Decorator for a `fetch` function to support automatic cookies.","license":"Unlicense","author":{"name":"Val","url":"https://val.codejam.info"},"type":"module","main":"./cjs/index-wrapper.js","module":"./esm/index.js","exports":{"import":{"types":"./esm/index.d.ts","default":"./esm/index.js"},"require":{"types":"./cjs/index.d.ts","default":"./cjs/index-wrapper.js"}},"types":"esm/index.d.ts","repository":{"type":"git","url":"git+https://github.com/valeriangalliat/fetch-cookie.git"},"scripts":{"build":"esbuild src/*.ts --format=esm --outdir=esm && esbuild src/*.ts --format=cjs --outdir=cjs","lint":"ts-standard src/*.ts test/*.js","patch-undici":"sed -i.old 's/^const forbiddenResponseHeaderNames =.*$/const forbiddenResponseHeaderNames = []/' node_modules/undici/lib/fetch/constants.js","prepack":"npm run prepare && npm run lint && npm run type-check && npm test && npm run test-import","prepare":"npm run build && npm run type-declarations","test":"npm run build && mocha","test-import":"node test/cjs/import.js && ts-node test/cjs/import.ts","type-check":"tsc -noEmit","type-declarations":"tsc --project tsconfig.build.json --declaration --emitDeclarationOnly --outDir esm && cat esm/index.d.ts | sed 's/^export default /export = /' > cjs/index.d.ts"},"dependencies":{"set-cookie-parser":"^2.4.8","tough-cookie":"^4.0.0"},"devDependencies":{"@tsconfig/recommended":"^1.0.1","@types/chai":"^4.3.0","@types/express":"^4.17.13","@types/mocha":"^9.1.0","@types/node":"^17.0.18","@types/node-fetch":"^2.6.1","@types/set-cookie-parser":"^2.4.2","@types/tough-cookie":"^4.0.1","chai":"^4.3.6","esbuild":"^0.14.21","express":"^4.17.3","mocha":"^9.2.0","node-fetch":"^3.2.0","ts-node":"^10.7.0","ts-standard":"^11.0.0","typescript":"^4.5.5","undici":"^4.14.1"},"gitHead":"da28c6fcb87a05b815ffdf9901ba740b8474b625","bugs":{"url":"https://github.com/valeriangalliat/fetch-cookie/issues"},"homepage":"https://github.com/valeriangalliat/fetch-cookie#readme","_id":"fetch-cookie@2.0.5","_nodeVersion":"18.1.0","_npmVersion":"8.8.0","dist":{"shasum":"d49b0886f79c71ce927245d928b9c230a2ddc69e","size":9216,"noattachment":false,"key":"/fetch-cookie/-/fetch-cookie-2.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/fetch-cookie/download/fetch-cookie-2.0.5.tgz"},"_npmUser":{"name":"valeriangalliat","email":"val@codejam.info"},"directories":{},"maintainers":[{"name":"valeriangalliat","email":"val@codejam.info"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fetch-cookie_2.0.5_1653519580863_0.15679169030101492"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-05-25T23:08:01.718Z","publish_time":1653519580988,"_cnpm_publish_time":1653519580988},"2.0.4":{"name":"fetch-cookie","version":"2.0.4","description":"Decorator for a `fetch` function to support automatic cookies.","license":"Unlicense","author":{"name":"Val","url":"https://val.codejam.info"},"type":"module","main":"./cjs/index-wrapper.js","module":"./esm/index.js","exports":{"import":{"default":"./esm/index.js","types":"./esm/index.d.ts"},"require":{"default":"./cjs/index-wrapper.js","types":"./cjs/index.d.ts"}},"types":"esm/index.d.ts","repository":{"type":"git","url":"git+https://github.com/valeriangalliat/fetch-cookie.git"},"scripts":{"build":"esbuild src/*.ts --format=esm --outdir=esm && esbuild src/*.ts --format=cjs --outdir=cjs","lint":"ts-standard src/*.ts test/*.js","patch-undici":"sed -i.old 's/^const forbiddenResponseHeaderNames =.*$/const forbiddenResponseHeaderNames = []/' node_modules/undici/lib/fetch/constants.js","prepack":"npm run prepare && npm run lint && npm run type-check && npm test && npm run test-import","prepare":"npm run build && npm run type-declarations","test":"npm run build && mocha","test-import":"node test/cjs/import.js && ts-node test/cjs/import.ts","type-check":"tsc -noEmit","type-declarations":"tsc --project tsconfig.build.json --declaration --emitDeclarationOnly --outDir esm && cat esm/index.d.ts | sed 's/^export default /export = /' > cjs/index.d.ts"},"dependencies":{"set-cookie-parser":"^2.4.8","tough-cookie":"^4.0.0"},"devDependencies":{"@tsconfig/recommended":"^1.0.1","@types/chai":"^4.3.0","@types/express":"^4.17.13","@types/mocha":"^9.1.0","@types/node":"^17.0.18","@types/node-fetch":"^2.6.1","@types/set-cookie-parser":"^2.4.2","@types/tough-cookie":"^4.0.1","chai":"^4.3.6","esbuild":"^0.14.21","express":"^4.17.3","mocha":"^9.2.0","node-fetch":"^3.2.0","ts-node":"^10.7.0","ts-standard":"^11.0.0","typescript":"^4.5.5","undici":"^4.14.1"},"gitHead":"6cdd12652f0b1c8946354a2436d3b47969f808f9","bugs":{"url":"https://github.com/valeriangalliat/fetch-cookie/issues"},"homepage":"https://github.com/valeriangalliat/fetch-cookie#readme","_id":"fetch-cookie@2.0.4","_nodeVersion":"18.1.0","_npmVersion":"8.8.0","dist":{"shasum":"0adc20b9af632f15852ec53f1e4ed616c3ce5995","size":9169,"noattachment":false,"key":"/fetch-cookie/-/fetch-cookie-2.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/fetch-cookie/download/fetch-cookie-2.0.4.tgz"},"_npmUser":{"name":"valeriangalliat","email":"val@codejam.info"},"directories":{},"maintainers":[{"name":"valeriangalliat","email":"val@codejam.info"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fetch-cookie_2.0.4_1653510635404_0.37344286513319136"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-05-25T20:32:33.449Z","publish_time":1653510635590,"_cnpm_publish_time":1653510635590},"2.0.3":{"name":"fetch-cookie","version":"2.0.3","description":"Decorator for a `fetch` function to support automatic cookies.","license":"Unlicense","author":{"name":"Valérian Galliat","url":"http://val.codejam.info"},"type":"module","main":"./cjs/index-wrapper.js","module":"./esm/index.js","exports":{"import":"./esm/index.js","require":"./cjs/index-wrapper.js"},"types":"types/index.d.ts","repository":{"type":"git","url":"git+https://github.com/valeriangalliat/fetch-cookie.git"},"scripts":{"build":"esbuild src/*.ts --format=esm --outdir=esm && esbuild src/*.ts --format=cjs --outdir=cjs","lint":"ts-standard src/*.ts test/*.js","patch-undici":"sed -i 's/^const forbiddenResponseHeaderNames =.*$/const forbiddenResponseHeaderNames = []/' node_modules/undici/lib/fetch/constants.js","prepack":"npm run prepare && npm run lint && npm run type-check && npm test","prepare":"npm run build && npm run type-declarations","test":"npm run build && mocha","type-check":"tsc -noEmit","type-declarations":"tsc --project tsconfig.build.json --declaration --emitDeclarationOnly --outDir types"},"dependencies":{"set-cookie-parser":"^2.4.8","tough-cookie":"^4.0.0"},"devDependencies":{"@tsconfig/recommended":"^1.0.1","@types/chai":"^4.3.0","@types/express":"^4.17.13","@types/mocha":"^9.1.0","@types/node":"^17.0.18","@types/node-fetch":"^2.6.1","@types/set-cookie-parser":"^2.4.2","@types/tough-cookie":"^4.0.1","chai":"^4.3.6","esbuild":"^0.14.21","express":"^4.17.3","mocha":"^9.2.0","node-fetch":"^3.2.0","ts-standard":"^11.0.0","typescript":"^4.5.5","undici":"^4.14.1"},"gitHead":"dc9735c9ea8de14c16f1388700c457519e2f94c2","bugs":{"url":"https://github.com/valeriangalliat/fetch-cookie/issues"},"homepage":"https://github.com/valeriangalliat/fetch-cookie#readme","_id":"fetch-cookie@2.0.3","_nodeVersion":"16.8.0","_npmVersion":"7.21.0","dist":{"shasum":"e81a364d1fb1952f4ba3aa7881025d6c4a758b15","size":8980,"noattachment":false,"key":"/fetch-cookie/-/fetch-cookie-2.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/fetch-cookie/download/fetch-cookie-2.0.3.tgz"},"_npmUser":{"name":"valeriangalliat","email":"val@codejam.info"},"directories":{},"maintainers":[{"name":"valeriangalliat","email":"val@codejam.info"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fetch-cookie_2.0.3_1647446408492_0.3520507144367462"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-03-16T16:00:27.851Z","publish_time":1647446408698,"_cnpm_publish_time":1647446408698},"2.0.2":{"name":"fetch-cookie","version":"2.0.2","description":"Decorator for a `fetch` function to support automatic cookies.","license":"Unlicense","author":{"name":"Valérian Galliat","url":"http://val.codejam.info"},"type":"module","main":"./cjs/index-wrapper.js","module":"./esm/index.js","exports":{"import":"./esm/index.js","require":"./cjs/index-wrapper.js"},"types":"types/index.d.ts","repository":{"type":"git","url":"git+https://github.com/valeriangalliat/fetch-cookie.git"},"scripts":{"build":"esbuild src/*.ts --format=esm --outdir=esm && esbuild src/*.ts --format=cjs --outdir=cjs","lint":"ts-standard src/*.ts test/*.js","patch-undici":"sed -i 's/^const forbiddenResponseHeaderNames =.*$/const forbiddenResponseHeaderNames = []/' node_modules/undici/lib/fetch/constants.js","prepack":"npm run prepare && npm run lint && npm run type-check && npm test","prepare":"npm run build && npm run type-declarations","test":"mocha","type-check":"tsc -noEmit src/*.ts","type-declarations":"tsc --declaration --emitDeclarationOnly src/*.ts --outDir types"},"dependencies":{"set-cookie-parser":"^2.4.8","tough-cookie":"^4.0.0"},"devDependencies":{"@tsconfig/recommended":"^1.0.1","@types/chai":"^4.3.0","@types/express":"^4.17.13","@types/mocha":"^9.1.0","@types/node":"^17.0.18","@types/node-fetch":"^2.6.1","@types/set-cookie-parser":"^2.4.2","@types/tough-cookie":"^4.0.1","chai":"^4.3.6","esbuild":"^0.14.21","express":"^4.17.3","mocha":"^9.2.0","node-fetch":"^3.2.0","ts-standard":"^11.0.0","typescript":"^4.5.5","undici":"^4.14.1"},"gitHead":"44ec2938b70a93e09a667f6f7eecbb0885bfe854","bugs":{"url":"https://github.com/valeriangalliat/fetch-cookie/issues"},"homepage":"https://github.com/valeriangalliat/fetch-cookie#readme","_id":"fetch-cookie@2.0.2","_nodeVersion":"16.8.0","_npmVersion":"7.21.0","dist":{"shasum":"e21a198d49b6e2692fd73f6db1c1cb7e73be98f9","size":8817,"noattachment":false,"key":"/fetch-cookie/-/fetch-cookie-2.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/fetch-cookie/download/fetch-cookie-2.0.2.tgz"},"_npmUser":{"name":"valeriangalliat","email":"val@codejam.info"},"directories":{},"maintainers":[{"name":"valeriangalliat","email":"val@codejam.info"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fetch-cookie_2.0.2_1647388464877_0.4237553759584347"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-03-15T23:54:27.960Z","publish_time":1647388465073,"_cnpm_publish_time":1647388465073},"2.0.1":{"name":"fetch-cookie","version":"2.0.1","description":"Decorator for a `fetch` function to support automatic cookies.","license":"Unlicense","author":{"name":"Valérian Galliat","url":"http://val.codejam.info"},"type":"module","exports":{"import":"./esm/index.js","require":"./cjs/index-wrapper.js"},"types":"types/index.d.ts","repository":{"type":"git","url":"git+https://github.com/valeriangalliat/fetch-cookie.git"},"scripts":{"build":"for format in esm cjs; do esbuild src/*.ts --format=$format --outdir=$format; done","lint":"ts-standard src/*.ts test/*.js","patch-undici":"sed -i 's/^const forbiddenResponseHeaderNames =.*$/const forbiddenResponseHeaderNames = []/' node_modules/undici/lib/fetch/constants.js","prepare":"npm run build && npm run type-declarations","prepack":"npm run prepare && npm run lint && npm run type-check && npm test","test":"mocha","type-check":"tsc -noEmit src/*.ts","type-declarations":"tsc --declaration --emitDeclarationOnly src/*.ts --outDir types"},"dependencies":{"set-cookie-parser":"^2.4.8","tough-cookie":"^4.0.0"},"devDependencies":{"@tsconfig/recommended":"^1.0.1","@types/chai":"^4.3.0","@types/express":"^4.17.13","@types/mocha":"^9.1.0","@types/node":"^17.0.18","@types/node-fetch":"^2.6.1","@types/set-cookie-parser":"^2.4.2","@types/tough-cookie":"^4.0.1","chai":"^4.3.6","esbuild":"^0.14.21","express":"^4.17.3","mocha":"^9.2.0","node-fetch":"^3.2.0","ts-standard":"^11.0.0","typescript":"^4.5.5","undici":"^4.14.1"},"gitHead":"c89705715877877714203a0f6138ccdc404850df","bugs":{"url":"https://github.com/valeriangalliat/fetch-cookie/issues"},"homepage":"https://github.com/valeriangalliat/fetch-cookie#readme","_id":"fetch-cookie@2.0.1","_nodeVersion":"16.8.0","_npmVersion":"7.21.0","dist":{"shasum":"8964e7191f66fa4af21bff4f19c34ab9d8a38457","size":8724,"noattachment":false,"key":"/fetch-cookie/-/fetch-cookie-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/fetch-cookie/download/fetch-cookie-2.0.1.tgz"},"_npmUser":{"name":"valeriangalliat","email":"val@codejam.info"},"directories":{},"maintainers":[{"name":"valeriangalliat","email":"val@codejam.info"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fetch-cookie_2.0.1_1646356234675_0.6857930418788638"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-03-04T01:10:39.261Z","publish_time":1646356234884,"_cnpm_publish_time":1646356234884},"2.0.0":{"name":"fetch-cookie","version":"2.0.0","description":"Decorator for a `fetch` function to support automatic cookies.","license":"Unlicense","author":{"name":"Valérian Galliat","url":"http://val.codejam.info"},"type":"module","exports":{"import":"./esm/index.js","require":"./cjs/index-wrapper.js"},"types":"types/index.d.ts","repository":{"type":"git","url":"git+https://github.com/valeriangalliat/fetch-cookie.git"},"scripts":{"build":"for format in esm cjs; do esbuild src/*.ts --format=$format --outdir=$format; done","lint":"ts-standard src/*.ts test/*.js","patch-undici":"sed -i 's/^const forbiddenResponseHeaderNames =.*$/const forbiddenResponseHeaderNames = []/' node_modules/undici/lib/fetch/constants.js","prepare":"npm run build && npm run type-declarations","prepack":"npm run prepare && npm run lint && npm run type-check && npm test","test":"mocha","type-check":"tsc -noEmit src/*.ts","type-declarations":"tsc --declaration --emitDeclarationOnly src/*.ts --outDir types && echo 'export = fetchCookie;' >> types/index.d.ts"},"dependencies":{"set-cookie-parser":"^2.4.8","tough-cookie":"^4.0.0"},"devDependencies":{"@tsconfig/recommended":"^1.0.1","@types/chai":"^4.3.0","@types/express":"^4.17.13","@types/mocha":"^9.1.0","@types/node":"^17.0.18","@types/node-fetch":"^2.6.1","@types/set-cookie-parser":"^2.4.2","@types/tough-cookie":"^4.0.1","chai":"^4.3.6","esbuild":"^0.14.21","express":"^4.17.3","mocha":"^9.2.0","node-fetch":"^3.2.0","ts-standard":"^11.0.0","typescript":"^4.5.5","undici":"^4.14.1"},"gitHead":"1abbb52636c5454351e52825df82c1ac4b760ed7","bugs":{"url":"https://github.com/valeriangalliat/fetch-cookie/issues"},"homepage":"https://github.com/valeriangalliat/fetch-cookie#readme","_id":"fetch-cookie@2.0.0","_nodeVersion":"16.8.0","_npmVersion":"7.21.0","dist":{"shasum":"d1f7ce747c10d3b310c99f4bf65145e9bb747130","size":8064,"noattachment":false,"key":"/fetch-cookie/-/fetch-cookie-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/fetch-cookie/download/fetch-cookie-2.0.0.tgz"},"_npmUser":{"name":"valeriangalliat","email":"val@codejam.info"},"directories":{},"maintainers":[{"name":"valeriangalliat","email":"val@codejam.info"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fetch-cookie_2.0.0_1645486423764_0.5585261356061728"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-21T23:33:46.996Z","publish_time":1645486423988,"_cnpm_publish_time":1645486423988},"1.0.1":{"name":"fetch-cookie","version":"1.0.1","description":"Decorator for a `fetch` function to support automatic cookies.","homepage":"https://github.com/valeriangalliat/fetch-cookie","bugs":{"url":"https://github.com/valeriangalliat/fetch-cookie/issues"},"license":"Unlicense","engines":{"node":">=8"},"author":{"name":"Valérian Galliat","url":"http://val.codejam.info/"},"repository":{"type":"git","url":"git+https://github.com/valeriangalliat/fetch-cookie.git"},"scripts":{"lint":"standard","prepare":"npm run lint && npm test","test":"mocha"},"dependencies":{"tough-cookie":"^2.3.3 || ^3.0.1 || ^4.0.0"},"devDependencies":{"@types/chai":"^4.1.4","@types/express":"^4.16.0","@types/mocha":"^7.0.2","@types/node-fetch":"^2.1.1","chai":"^4.1.2","express":"^4.14.1","mocha":"^7.1.1","node-fetch":"^2.6.0","standard":"^16.0.3","tough-cookie":"^2.3.3 || ^3.0.1 || ^4.0.0"},"gitHead":"8dc03f45036ddaf665318fe5f8b362c084b58626","_id":"fetch-cookie@1.0.1","_nodeVersion":"16.8.0","_npmVersion":"7.21.0","dist":{"shasum":"51de5f04453a5191b9a190ecb955468507d74dff","size":4127,"noattachment":false,"key":"/fetch-cookie/-/fetch-cookie-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/fetch-cookie/download/fetch-cookie-1.0.1.tgz"},"_npmUser":{"name":"valeriangalliat","email":"val@codejam.info"},"directories":{},"maintainers":[{"name":"valeriangalliat","email":"val@codejam.info"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fetch-cookie_1.0.1_1644450635610_0.32503421729023274"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-09T23:50:41.497Z","publish_time":1644450635764,"_cnpm_publish_time":1644450635764},"1.0.0":{"name":"fetch-cookie","version":"1.0.0","description":"Decorator for a `fetch` function to support automatic cookies.","homepage":"https://github.com/valeriangalliat/fetch-cookie","bugs":{"url":"https://github.com/valeriangalliat/fetch-cookie/issues"},"license":"Unlicense","engines":{"node":">=8"},"author":{"name":"Valérian Galliat","url":"http://val.codejam.info/"},"repository":{"type":"git","url":"git+https://github.com/valeriangalliat/fetch-cookie.git"},"scripts":{"lint":"standard","prepare":"npm run lint && npm test","test":"mocha"},"dependencies":{"tough-cookie":"^2.3.3 || ^3.0.1 || ^4.0.0"},"devDependencies":{"@types/chai":"^4.1.4","@types/express":"^4.16.0","@types/mocha":"^7.0.2","@types/node-fetch":"^2.1.1","chai":"^4.1.2","express":"^4.14.1","mocha":"^7.1.1","node-fetch":"^2.6.0","standard":"^16.0.3","tough-cookie":"^2.3.3 || ^3.0.1 || ^4.0.0"},"gitHead":"b663ae6e57c72fdd727e1ac2aeda590dc4965b97","_id":"fetch-cookie@1.0.0","_nodeVersion":"15.10.0","_npmVersion":"7.5.3","dist":{"shasum":"77541b67821ea7c8cfa9bfd4b59e16bc5f7c69df","size":5396,"noattachment":false,"key":"/fetch-cookie/-/fetch-cookie-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/fetch-cookie/download/fetch-cookie-1.0.0.tgz"},"_npmUser":{"name":"valeriangalliat","email":"val@codejam.info"},"directories":{},"maintainers":[{"name":"valeriangalliat","email":"val@codejam.info"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fetch-cookie_1.0.0_1624801066651_0.8976450014995199"},"_hasShrinkwrap":false,"publish_time":1624801066841,"_cnpm_publish_time":1624801066841,"_cnpmcore_publish_time":"2021-12-16T15:16:11.544Z"},"0.11.0":{"name":"fetch-cookie","version":"0.11.0","description":"Decorator for a `fetch` function to support automatic cookies.","homepage":"https://github.com/valeriangalliat/fetch-cookie","bugs":{"url":"https://github.com/valeriangalliat/fetch-cookie/issues"},"license":"Unlicense","engines":{"node":">=8"},"author":{"name":"Valérian Galliat","url":"http://val.codejam.info/"},"repository":{"type":"git","url":"git+https://github.com/valeriangalliat/fetch-cookie.git"},"scripts":{"lint":"standard","prepare":"npm run lint && npm test","test":"mocha"},"dependencies":{"tough-cookie":"^2.3.3 || ^3.0.1 || ^4.0.0"},"devDependencies":{"@types/chai":"^4.1.4","@types/express":"^4.16.0","@types/mocha":"^7.0.2","@types/node-fetch":"^2.1.1","chai":"^4.1.2","express":"^4.14.1","mocha":"^7.1.1","node-fetch":"^2.6.0","standard":"^14.3.3","tough-cookie":"^2.3.3 || ^3.0.1 || ^4.0.0"},"gitHead":"d45ed0d48d9c1d055099eb3075ca91d72407b9ae","_id":"fetch-cookie@0.11.0","_nodeVersion":"14.13.1","_npmVersion":"6.14.8","dist":{"shasum":"e046d2abadd0ded5804ce7e2cae06d4331c15407","size":4132,"noattachment":false,"key":"/fetch-cookie/-/fetch-cookie-0.11.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/fetch-cookie/download/fetch-cookie-0.11.0.tgz"},"maintainers":[{"name":"valeriangalliat","email":"val@codejam.info"}],"_npmUser":{"name":"valeriangalliat","email":"val@codejam.info"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fetch-cookie_0.11.0_1604355968114_0.5299022014085153"},"_hasShrinkwrap":false,"publish_time":1604355968281,"_cnpm_publish_time":1604355968281,"_cnpmcore_publish_time":"2021-12-16T15:16:11.754Z"},"0.10.1":{"name":"fetch-cookie","version":"0.10.1","description":"Decorator for a `fetch` function to support automatic cookies.","homepage":"https://github.com/valeriangalliat/fetch-cookie","bugs":{"url":"https://github.com/valeriangalliat/fetch-cookie/issues"},"license":"Unlicense","engines":{"node":">=8"},"author":{"name":"Valérian Galliat","url":"http://val.codejam.info/"},"repository":{"type":"git","url":"git+https://github.com/valeriangalliat/fetch-cookie.git"},"scripts":{"lint":"standard","prepare":"npm run lint && npm test","test":"mocha"},"dependencies":{"tough-cookie":"^2.3.3 || ^3.0.1 || ^4.0.0"},"devDependencies":{"@types/chai":"^4.1.4","@types/express":"^4.16.0","@types/mocha":"^7.0.2","@types/node-fetch":"^2.1.1","chai":"^4.1.2","express":"^4.14.1","mocha":"^7.1.1","node-fetch":"^2.6.0","standard":"^14.3.3","tough-cookie":"^2.3.3 || ^3.0.1 || ^4.0.0"},"gitHead":"07461efbc1892534687c114798d1035b3c0b7471","_id":"fetch-cookie@0.10.1","_nodeVersion":"11.11.0","_npmVersion":"6.7.0","dist":{"shasum":"5ea88f3d36950543c87997c27ae2aeafb4b5c4d4","size":4100,"noattachment":false,"key":"/fetch-cookie/-/fetch-cookie-0.10.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/fetch-cookie/download/fetch-cookie-0.10.1.tgz"},"maintainers":[{"name":"valeriangalliat","email":"val@codejam.info"}],"_npmUser":{"name":"valeriangalliat","email":"val@codejam.info"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fetch-cookie_0.10.1_1592769826743_0.9184536286072507"},"_hasShrinkwrap":false,"publish_time":1592769826883,"_cnpm_publish_time":1592769826883,"_cnpmcore_publish_time":"2021-12-16T15:16:11.975Z"},"0.10.0":{"name":"fetch-cookie","version":"0.10.0","description":"Decorator for a `fetch` function to support automatic cookies.","homepage":"https://github.com/valeriangalliat/fetch-cookie","bugs":{"url":"https://github.com/valeriangalliat/fetch-cookie/issues"},"license":"Unlicense","engines":{"node":">=8"},"author":{"name":"Valérian Galliat","url":"http://val.codejam.info/"},"repository":{"type":"git","url":"git+https://github.com/valeriangalliat/fetch-cookie.git"},"scripts":{"lint":"standard","prepare":"npm run lint && npm test","test":"mocha"},"dependencies":{"tough-cookie":"^2.3.3 || ^3.0.1 || ^4.0.0"},"devDependencies":{"@types/chai":"^4.1.4","@types/express":"^4.16.0","@types/mocha":"^7.0.2","@types/node-fetch":"^2.1.1","chai":"^4.1.2","express":"^4.14.1","mocha":"^7.1.1","node-fetch":"^2.6.0","standard":"^14.3.3","tough-cookie":"^2.3.3 || ^3.0.1 || ^4.0.0"},"gitHead":"3a6d94390c0dde5ccca8f06c2d238005e6a8a0b5","_id":"fetch-cookie@0.10.0","_nodeVersion":"12.3.1","_npmVersion":"6.9.0","dist":{"shasum":"65badc2f0c0ee3b370c17a7ec941edfe137ad660","size":4100,"noattachment":false,"key":"/fetch-cookie/-/fetch-cookie-0.10.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/fetch-cookie/download/fetch-cookie-0.10.0.tgz"},"maintainers":[{"name":"valeriangalliat","email":"val@codejam.info"}],"_npmUser":{"name":"valeriangalliat","email":"val@codejam.info"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fetch-cookie_0.10.0_1592346080587_0.11594030414131384"},"_hasShrinkwrap":false,"publish_time":1592346080722,"_cnpm_publish_time":1592346080722,"_cnpmcore_publish_time":"2021-12-16T15:16:12.178Z"},"0.9.1":{"name":"fetch-cookie","version":"0.9.1","description":"Decorator for a `fetch` function to support automatic cookies.","homepage":"https://github.com/valeriangalliat/fetch-cookie","bugs":{"url":"https://github.com/valeriangalliat/fetch-cookie/issues"},"license":"Unlicense","engines":{"node":">=8"},"author":{"name":"Valérian Galliat","url":"http://val.codejam.info/"},"repository":{"type":"git","url":"git+https://github.com/valeriangalliat/fetch-cookie.git"},"scripts":{"lint":"standard","prepare":"npm run lint && npm test","test":"mocha"},"dependencies":{"tough-cookie":"^2.3.3 || ^3.0.1 || ^4.0.0"},"devDependencies":{"@types/chai":"^4.1.4","@types/express":"^4.16.0","@types/mocha":"^7.0.2","@types/node-fetch":"^2.1.1","chai":"^4.1.2","express":"^4.14.1","mocha":"^7.1.1","node-fetch":"^2.6.0","standard":"^14.3.3","tough-cookie":"^2.3.3 || ^3.0.1 || ^4.0.0"},"gitHead":"d4d1aad169a32f69f11ed38f0e625dde5cd42acd","_id":"fetch-cookie@0.9.1","_nodeVersion":"12.3.1","_npmVersion":"6.9.0","dist":{"shasum":"16063b4c9ae849f96d274afce833ea1e5bb760b9","size":3868,"noattachment":false,"key":"/fetch-cookie/-/fetch-cookie-0.9.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/fetch-cookie/download/fetch-cookie-0.9.1.tgz"},"maintainers":[{"name":"valeriangalliat","email":"val@codejam.info"}],"_npmUser":{"name":"valeriangalliat","email":"val@codejam.info"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fetch-cookie_0.9.1_1590584688822_0.4531972615438429"},"_hasShrinkwrap":false,"publish_time":1590584688919,"_cnpm_publish_time":1590584688919,"_cnpmcore_publish_time":"2021-12-16T15:16:12.419Z"},"0.9.0":{"name":"fetch-cookie","version":"0.9.0","description":"Decorator for a `fetch` function to support automatic cookies.","homepage":"https://github.com/valeriangalliat/fetch-cookie","bugs":{"url":"https://github.com/valeriangalliat/fetch-cookie/issues"},"license":"Unlicense","engines":{"node":">=8"},"author":{"name":"Valérian Galliat","url":"http://val.codejam.info/"},"repository":{"type":"git","url":"git+https://github.com/valeriangalliat/fetch-cookie.git"},"scripts":{"lint":"standard","prepare":"npm run lint && npm test","test":"mocha"},"dependencies":{"@types/tough-cookie":"^2.3.3 || ^4.0.0","tough-cookie":"^2.3.3 || ^3.0.1 || ^4.0.0"},"devDependencies":{"@types/chai":"^4.1.4","@types/express":"^4.16.0","@types/mocha":"^7.0.2","@types/node-fetch":"^2.1.1","chai":"^4.1.2","express":"^4.14.1","mocha":"^7.1.1","node-fetch":"^2.6.0","standard":"^14.3.3","tough-cookie":"^2.3.3 || ^3.0.1 || ^4.0.0"},"gitHead":"48ca385c6480dbd3a787559a99f8d271b63061b2","_id":"fetch-cookie@0.9.0","_nodeVersion":"11.11.0","_npmVersion":"6.7.0","dist":{"shasum":"5b2cb783f794b88bb3081881206e9f3936b5753f","size":3682,"noattachment":false,"key":"/fetch-cookie/-/fetch-cookie-0.9.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/fetch-cookie/download/fetch-cookie-0.9.0.tgz"},"maintainers":[{"name":"valeriangalliat","email":"val@codejam.info"}],"_npmUser":{"name":"valeriangalliat","email":"val@codejam.info"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fetch-cookie_0.9.0_1590408709941_0.986940163391484"},"_hasShrinkwrap":false,"publish_time":1590408710242,"_cnpm_publish_time":1590408710242,"_cnpmcore_publish_time":"2021-12-16T15:16:12.619Z"},"0.8.0":{"name":"fetch-cookie","version":"0.8.0","description":"Decorator for a `fetch` function to support automatic cookies.","homepage":"https://github.com/valeriangalliat/fetch-cookie","bugs":{"url":"https://github.com/valeriangalliat/fetch-cookie/issues"},"license":"Unlicense","engines":{"node":">=8"},"author":{"name":"Valérian Galliat","url":"http://val.codejam.info/"},"repository":{"type":"git","url":"git+https://github.com/valeriangalliat/fetch-cookie.git"},"scripts":{"lint":"standard","prepare":"npm run lint && npm test","test":"mocha"},"dependencies":{"tough-cookie":"^2.3.3 || ^3.0.1 || ^4.0.0"},"devDependencies":{"@types/chai":"^4.1.4","@types/express":"^4.16.0","@types/mocha":"^7.0.2","@types/node-fetch":"^2.1.1","chai":"^4.1.2","express":"^4.14.1","mocha":"^7.1.1","node-fetch":"^2.6.0","standard":"^14.3.3","tough-cookie":"^2.3.3 || ^3.0.1 || ^4.0.0"},"gitHead":"47c8c5644f9d6051f935dac1f9ee94de43f0824f","_id":"fetch-cookie@0.8.0","_nodeVersion":"12.3.1","_npmVersion":"6.9.0","dist":{"shasum":"f31ebb534a7ab55453287e6a5d9dbf6c5d5ab95e","size":3592,"noattachment":false,"key":"/fetch-cookie/-/fetch-cookie-0.8.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/fetch-cookie/download/fetch-cookie-0.8.0.tgz"},"maintainers":[{"name":"valeriangalliat","email":"val@codejam.info"}],"_npmUser":{"name":"valeriangalliat","email":"val@codejam.info"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fetch-cookie_0.8.0_1585399014530_0.4565160911281112"},"_hasShrinkwrap":false,"publish_time":1585399014707,"_cnpm_publish_time":1585399014707,"_cnpmcore_publish_time":"2021-12-16T15:16:12.802Z"},"0.7.3":{"name":"fetch-cookie","version":"0.7.3","description":"Decorator for a `fetch` function to support automatic cookies.","homepage":"https://github.com/valeriangalliat/fetch-cookie","bugs":{"url":"https://github.com/valeriangalliat/fetch-cookie/issues"},"license":"Unlicense","author":{"name":"Valérian Galliat","url":"http://val.codejam.info/"},"repository":{"type":"git","url":"git+https://github.com/valeriangalliat/fetch-cookie.git"},"scripts":{"lint":"standard","prepare":"npm run lint && npm test","test":"mocha"},"dependencies":{"es6-denodeify":"^0.1.1","tough-cookie":"^2.3.3"},"devDependencies":{"@types/chai":"^4.1.4","@types/express":"^4.16.0","@types/mocha":"^5.2.5","@types/node-fetch":"^2.1.1","chai":"^4.1.2","express":"^4.14.1","mocha":"^3.2.0","node-fetch":"^1.6.3","standard":"^11.0.1"},"gitHead":"4fcbe62f460f093ec7f48d720eee1e325e1fac62","_id":"fetch-cookie@0.7.3","_npmVersion":"6.5.0","_nodeVersion":"11.9.0","_npmUser":{"name":"fabitee","email":"npm@fabitee.de"},"dist":{"shasum":"b8d023f421dd2b2f4a0eca9cd7318a967ed4eed8","size":3599,"noattachment":false,"key":"/fetch-cookie/-/fetch-cookie-0.7.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/fetch-cookie/download/fetch-cookie-0.7.3.tgz"},"maintainers":[{"name":"valeriangalliat","email":"val@codejam.info"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fetch-cookie_0.7.3_1562505863602_0.763852156444486"},"_hasShrinkwrap":false,"publish_time":1562505863782,"_cnpm_publish_time":1562505863782,"_cnpmcore_publish_time":"2021-12-16T15:16:13.015Z"},"0.7.2":{"name":"fetch-cookie","version":"0.7.2","description":"Decorator for a `fetch` function to support automatic cookies.","homepage":"https://github.com/valeriangalliat/fetch-cookie","bugs":{"url":"https://github.com/valeriangalliat/fetch-cookie/issues"},"license":"Unlicense","author":{"name":"Valérian Galliat","url":"http://val.codejam.info/"},"files":["index.js","node-fetch.js","README.md","UNLICENSE"],"repository":{"type":"git","url":"git+https://github.com/valeriangalliat/fetch-cookie.git"},"scripts":{"lint":"standard","prepare":"npm run lint && npm test","test":"mocha"},"dependencies":{"es6-denodeify":"^0.1.1","tough-cookie":"^2.3.1"},"devDependencies":{"@types/chai":"^4.1.4","@types/express":"^4.16.0","@types/mocha":"^5.2.5","@types/node-fetch":"^2.1.1","chai":"^4.1.2","express":"^4.14.1","mocha":"^3.2.0","node-fetch":"^1.6.3","standard":"^11.0.1"},"gitHead":"950fbf9dc44a35e0d300c7fd68bff73fd3df361f","_id":"fetch-cookie@0.7.2","_npmVersion":"6.2.0","_nodeVersion":"9.11.1","_npmUser":{"name":"fabitee","email":"npm@fabitee.de"},"dist":{"shasum":"5be512f7121b0bcd2e344350ad717727ac3b1a5d","size":3519,"noattachment":false,"key":"/fetch-cookie/-/fetch-cookie-0.7.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/fetch-cookie/download/fetch-cookie-0.7.2.tgz"},"maintainers":[{"name":"valeriangalliat","email":"val@codejam.info"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fetch-cookie_0.7.2_1532247535971_0.27694768641200307"},"_hasShrinkwrap":false,"publish_time":1532247536078,"_cnpm_publish_time":1532247536078,"_cnpmcore_publish_time":"2021-12-16T15:16:13.204Z"},"0.7.1":{"name":"fetch-cookie","version":"0.7.1","description":"Decorator for a `fetch` function to support automatic cookies.","homepage":"https://github.com/valeriangalliat/fetch-cookie","bugs":{"url":"https://github.com/valeriangalliat/fetch-cookie/issues"},"license":"Unlicense","author":{"name":"Valérian Galliat","url":"http://val.codejam.info/"},"files":["index.js","node-fetch.js","README.md","UNLICENSE"],"repository":{"type":"git","url":"git+https://github.com/valeriangalliat/fetch-cookie.git"},"scripts":{"lint":"standard","prepare":"npm run lint && npm test","test":"mocha"},"dependencies":{"es6-denodeify":"^0.1.1","tough-cookie":"^2.3.1"},"devDependencies":{"@types/chai":"^4.1.4","@types/express":"^4.16.0","@types/mocha":"^5.2.5","@types/node-fetch":"^2.1.1","chai":"^4.1.2","express":"^4.14.1","mocha":"^3.2.0","node-fetch":"^1.6.3","standard":"^11.0.1"},"gitHead":"cb35bd49ecac6529d1ab8ca6c8c20a45fa6ac35a","_id":"fetch-cookie@0.7.1","_npmVersion":"6.2.0","_nodeVersion":"9.8.0","_npmUser":{"name":"fabitee","email":"npm@fabitee.de"},"dist":{"shasum":"7a51c3d37903aa009f9e88168928ebabc20aca9e","size":3135,"noattachment":false,"key":"/fetch-cookie/-/fetch-cookie-0.7.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/fetch-cookie/download/fetch-cookie-0.7.1.tgz"},"maintainers":[{"name":"valeriangalliat","email":"val@codejam.info"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fetch-cookie_0.7.1_1532009261486_0.20128881379675723"},"_hasShrinkwrap":false,"publish_time":1532009261556,"_cnpm_publish_time":1532009261556,"_cnpmcore_publish_time":"2021-12-16T15:16:13.408Z"},"0.7.0":{"name":"fetch-cookie","version":"0.7.0","description":"Decorator for a `fetch` function to support automatic cookies.","homepage":"https://github.com/valeriangalliat/fetch-cookie","bugs":{"url":"https://github.com/valeriangalliat/fetch-cookie/issues"},"license":"Unlicense","author":{"name":"Valérian Galliat","url":"http://val.codejam.info/"},"files":["index.js","node-fetch.js","README.md","UNLICENSE"],"repository":{"type":"git","url":"git+https://github.com/valeriangalliat/fetch-cookie.git"},"scripts":{"lint":"standard","prepublish":"npm run lint && npm test","test":"mocha"},"dependencies":{"es6-denodeify":"^0.1.1","tough-cookie":"^2.3.1"},"devDependencies":{"express":"^4.14.1","mocha":"^3.2.0","node-fetch":"^1.6.3","standard":"^4.0.1"},"gitHead":"a31a4776267c970bd7780532d6c7513d3e8112fa","_id":"fetch-cookie@0.7.0","_npmVersion":"5.0.0","_nodeVersion":"6.10.2","_npmUser":{"name":"valeriangalliat","email":"val@codejam.info"},"dist":{"shasum":"a6fc137ad8363aa89125864c6451b86ecb7de802","size":2929,"noattachment":false,"key":"/fetch-cookie/-/fetch-cookie-0.7.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/fetch-cookie/download/fetch-cookie-0.7.0.tgz"},"maintainers":[{"name":"valeriangalliat","email":"val@codejam.info"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fetch-cookie-0.7.0.tgz_1506604999464_0.5233070482499897"},"directories":{},"publish_time":1506605000369,"_hasShrinkwrap":false,"_cnpm_publish_time":1506605000369,"_cnpmcore_publish_time":"2021-12-16T15:16:13.615Z"},"0.6.0":{"name":"fetch-cookie","version":"0.6.0","description":"Decorator for a `fetch` function to support automatic cookies.","homepage":"https://github.com/valeriangalliat/fetch-cookie","bugs":{"url":"https://github.com/valeriangalliat/fetch-cookie/issues"},"license":"Unlicense","author":{"name":"Valérian Galliat","url":"http://val.codejam.info/"},"files":["index.js","node-fetch.js","README.md","UNLICENSE"],"repository":{"type":"git","url":"git+https://github.com/valeriangalliat/fetch-cookie.git"},"scripts":{"lint":"standard","prepublish":"npm run lint && npm test","test":"mocha"},"dependencies":{"es6-denodeify":"^0.1.1","tough-cookie":"^2.3.1"},"devDependencies":{"express":"^4.14.1","mocha":"^3.2.0","node-fetch":"^1.6.3","standard":"^4.0.1"},"gitHead":"2f0dfbaa0d5ee95be939ab63534137d6b84ab2f5","_id":"fetch-cookie@0.6.0","_shasum":"4fec4e408cc0007f6c04e553618af4b3dee37f69","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"valeriangalliat","email":"val@codejam.info"},"dist":{"shasum":"4fec4e408cc0007f6c04e553618af4b3dee37f69","size":2920,"noattachment":false,"key":"/fetch-cookie/-/fetch-cookie-0.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/fetch-cookie/download/fetch-cookie-0.6.0.tgz"},"maintainers":[{"name":"valeriangalliat","email":"val@codejam.info"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/fetch-cookie-0.6.0.tgz_1488392119909_0.1920222812332213"},"directories":{},"publish_time":1488392121630,"_hasShrinkwrap":false,"_cnpm_publish_time":1488392121630,"_cnpmcore_publish_time":"2021-12-16T15:16:13.816Z"},"0.5.0":{"name":"fetch-cookie","version":"0.5.0","description":"Decorator for a `fetch` function to support automatic cookies.","homepage":"https://github.com/valeriangalliat/fetch-cookie","bugs":{"url":"https://github.com/valeriangalliat/fetch-cookie/issues"},"license":"Unlicense","author":{"name":"Valérian Galliat","url":"http://val.codejam.info/"},"files":["index.js","node-fetch.js","README.md","UNLICENSE"],"repository":{"type":"git","url":"git+https://github.com/valeriangalliat/fetch-cookie.git"},"scripts":{"test":"standard"},"dependencies":{"es6-denodeify":"^0.1.1","tough-cookie":"^2.3.1"},"devDependencies":{"standard":"^4.0.1"},"gitHead":"3e88e3a6c98e8eee0805c5f4ee1ca92b2094b4a5","_id":"fetch-cookie@0.5.0","_shasum":"a83e4fd62c81d3f41240a8f277b13b90fa2870f1","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"valeriangalliat","email":"val@codejam.info"},"dist":{"shasum":"a83e4fd62c81d3f41240a8f277b13b90fa2870f1","size":2802,"noattachment":false,"key":"/fetch-cookie/-/fetch-cookie-0.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/fetch-cookie/download/fetch-cookie-0.5.0.tgz"},"maintainers":[{"name":"valeriangalliat","email":"val@codejam.info"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/fetch-cookie-0.5.0.tgz_1488226547061_0.3254416536074132"},"directories":{},"publish_time":1488226547760,"_hasShrinkwrap":false,"_cnpm_publish_time":1488226547760,"_cnpmcore_publish_time":"2021-12-16T15:16:14.014Z"},"0.4.1":{"name":"fetch-cookie","version":"0.4.1","description":"Decorator for a `fetch` function to support automatic cookies.","homepage":"https://github.com/valeriangalliat/fetch-cookie","bugs":{"url":"https://github.com/valeriangalliat/fetch-cookie/issues"},"license":"Unlicense","author":{"name":"Valérian Galliat","url":"http://val.codejam.info/"},"files":["index.js","node-fetch.js","README.md","UNLICENSE"],"repository":{"type":"git","url":"git+https://github.com/valeriangalliat/fetch-cookie.git"},"scripts":{"test":"standard"},"dependencies":{"es6-denodeify":"^0.1.1","tough-cookie":"^2.3.1"},"devDependencies":{"standard":"^4.0.1"},"gitHead":"aa5dc9edcbf0f05be91cbb270347d6bbbe7e66f1","_id":"fetch-cookie@0.4.1","_shasum":"30e395d96aae3e406d738fea99ae91083259ffd9","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"valeriangalliat","email":"val@codejam.info"},"dist":{"shasum":"30e395d96aae3e406d738fea99ae91083259ffd9","size":2798,"noattachment":false,"key":"/fetch-cookie/-/fetch-cookie-0.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/fetch-cookie/download/fetch-cookie-0.4.1.tgz"},"maintainers":[{"name":"valeriangalliat","email":"val@codejam.info"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/fetch-cookie-0.4.1.tgz_1486588369347_0.3499322677962482"},"directories":{},"publish_time":1486588371087,"_hasShrinkwrap":false,"_cnpm_publish_time":1486588371087,"_cnpmcore_publish_time":"2021-12-16T15:16:14.205Z"},"0.4.0":{"name":"fetch-cookie","version":"0.4.0","description":"Decorator for a `fetch` function to support automatic cookies.","homepage":"https://github.com/valeriangalliat/fetch-cookie","bugs":{"url":"https://github.com/valeriangalliat/fetch-cookie/issues"},"license":"Unlicense","author":{"name":"Valérian Galliat","url":"http://val.codejam.info/"},"files":["index.js","node-fetch.js","README.md","UNLICENSE"],"repository":{"type":"git","url":"git+https://github.com/valeriangalliat/fetch-cookie.git"},"scripts":{"test":"standard"},"dependencies":{"es6-denodeify":"^0.1.1","tough-cookie":"^2.3.1"},"devDependencies":{"standard":"^4.0.1"},"gitHead":"8c70986296050cbb49c43eac2a276d8d980c71df","_id":"fetch-cookie@0.4.0","_shasum":"8f78b830b380bac72df1c138d8ffeb01f3ee3b23","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"valeriangalliat","email":"val@codejam.info"},"dist":{"shasum":"8f78b830b380bac72df1c138d8ffeb01f3ee3b23","size":2783,"noattachment":false,"key":"/fetch-cookie/-/fetch-cookie-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/fetch-cookie/download/fetch-cookie-0.4.0.tgz"},"maintainers":[{"name":"valeriangalliat","email":"val@codejam.info"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/fetch-cookie-0.4.0.tgz_1486301423221_0.119837288511917"},"directories":{},"publish_time":1486301423892,"_hasShrinkwrap":false,"_cnpm_publish_time":1486301423892,"_cnpmcore_publish_time":"2021-12-16T15:16:14.439Z"},"0.3.0":{"name":"fetch-cookie","version":"0.3.0","description":"Decorator for a `fetch` function to support automatic cookies.","homepage":"https://github.com/valeriangalliat/fetch-cookie","bugs":{"url":"https://github.com/valeriangalliat/fetch-cookie/issues"},"license":"Unlicense","author":{"name":"Valérian Galliat","url":"http://val.codejam.info/"},"files":["index.js","README.md","UNLICENSE"],"repository":{"type":"git","url":"git+https://github.com/valeriangalliat/fetch-cookie.git"},"scripts":{"test":"standard"},"dependencies":{"es6-denodeify":"^0.1.1","tough-cookie":"^2.3.1"},"devDependencies":{"standard":"^4.0.1"},"gitHead":"79fd6b4540dc09c608e08c010e9a287e7423640d","_id":"fetch-cookie@0.3.0","_shasum":"441ccdb8b0432c1264f2617d2bcab5ba6ad8da10","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"valeriangalliat","email":"val@codejam.info"},"dist":{"shasum":"441ccdb8b0432c1264f2617d2bcab5ba6ad8da10","size":2043,"noattachment":false,"key":"/fetch-cookie/-/fetch-cookie-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/fetch-cookie/download/fetch-cookie-0.3.0.tgz"},"maintainers":[{"name":"valeriangalliat","email":"val@codejam.info"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/fetch-cookie-0.3.0.tgz_1485870436259_0.37284108181484044"},"directories":{},"publish_time":1485870438300,"_hasShrinkwrap":false,"_cnpm_publish_time":1485870438300,"_cnpmcore_publish_time":"2021-12-16T15:16:14.677Z"},"0.2.0":{"name":"fetch-cookie","version":"0.2.0","description":"Decorator for a `fetch` function to support automatic cookies.","homepage":"https://github.com/valeriangalliat/fetch-cookie","bugs":{"url":"https://github.com/valeriangalliat/fetch-cookie/issues"},"license":"Unlicense","author":{"name":"Valérian Galliat","url":"http://val.codejam.info/"},"files":["index.js","README.md","UNLICENSE"],"repository":{"type":"git","url":"git+https://github.com/valeriangalliat/fetch-cookie.git"},"scripts":{"test":"standard"},"dependencies":{"es6-denodeify":"^0.1.1","tough-cookie":"^2.3.1"},"devDependencies":{"standard":"^4.0.1"},"gitHead":"90282cad891108c4dfc32c34697893bb8e8c4e6c","_id":"fetch-cookie@0.2.0","_shasum":"c64385ccc3f6dffddbc10b214b9a23cf36a2b5c9","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"valeriangalliat","email":"val@codejam.info"},"dist":{"shasum":"c64385ccc3f6dffddbc10b214b9a23cf36a2b5c9","size":2042,"noattachment":false,"key":"/fetch-cookie/-/fetch-cookie-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/fetch-cookie/download/fetch-cookie-0.2.0.tgz"},"maintainers":[{"name":"valeriangalliat","email":"val@codejam.info"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/fetch-cookie-0.2.0.tgz_1479150882618_0.7476979864295572"},"directories":{},"publish_time":1479150884609,"_hasShrinkwrap":false,"_cnpm_publish_time":1479150884609,"_cnpmcore_publish_time":"2021-12-16T15:16:14.891Z"},"0.1.4":{"name":"fetch-cookie","version":"0.1.4","description":"Decorator for a `fetch` function to support automatic cookies.","homepage":"https://github.com/valeriangalliat/fetch-cookie","bugs":{"url":"https://github.com/valeriangalliat/fetch-cookie/issues"},"license":"Unlicense","author":{"name":"Valérian Galliat","url":"http://val.codejam.info/"},"files":["index.js","README.md","UNLICENSE"],"repository":{"type":"git","url":"git+https://github.com/valeriangalliat/fetch-cookie.git"},"scripts":{"test":"standard"},"dependencies":{"es6-denodeify":"^0.1.1","object-assign":"^2.0.0","promise":"^7.0.1","tough-cookie":"^2.3.1"},"devDependencies":{"standard":"^4.0.1"},"gitHead":"e813e6f049c24b0496b0df996311fc8931621bfd","_id":"fetch-cookie@0.1.4","_shasum":"12915063536c6b2e31d3b562e2c64cf17d26f132","_from":".","_npmVersion":"3.9.5","_nodeVersion":"6.2.2","_npmUser":{"name":"valeriangalliat","email":"val@codejam.info"},"dist":{"shasum":"12915063536c6b2e31d3b562e2c64cf17d26f132","size":1603,"noattachment":false,"key":"/fetch-cookie/-/fetch-cookie-0.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/fetch-cookie/download/fetch-cookie-0.1.4.tgz"},"maintainers":[{"name":"valeriangalliat","email":"val@codejam.info"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/fetch-cookie-0.1.4.tgz_1470060223888_0.6826699369121343"},"directories":{},"publish_time":1470060225658,"_hasShrinkwrap":false,"_cnpm_publish_time":1470060225658,"_cnpmcore_publish_time":"2021-12-16T15:16:15.116Z"},"0.1.3":{"name":"fetch-cookie","version":"0.1.3","description":"Decorator for a `fetch` function to support automatic cookies.","homepage":"https://github.com/valeriangalliat/fetch-cookie","bugs":{"url":"https://github.com/valeriangalliat/fetch-cookie/issues"},"license":"Unlicense","author":{"name":"Valérian Galliat","url":"http://val.codejam.info/"},"files":["index.js","README.md","UNLICENSE"],"repository":{"type":"git","url":"git+https://github.com/valeriangalliat/fetch-cookie.git"},"scripts":{"test":"standard"},"dependencies":{"es6-denodeify":"^0.1.1","object-assign":"^2.0.0","promise":"^7.0.1","tough-cookie":"^1.1.0"},"devDependencies":{"standard":"^4.0.1"},"gitHead":"120225ba9335066c6f422681c6436e495ce7c964","_id":"fetch-cookie@0.1.3","_shasum":"667f447a42f4688808651df3258c50793979c5c3","_from":".","_npmVersion":"3.9.5","_nodeVersion":"6.2.2","_npmUser":{"name":"valeriangalliat","email":"val@codejam.info"},"dist":{"shasum":"667f447a42f4688808651df3258c50793979c5c3","size":1598,"noattachment":false,"key":"/fetch-cookie/-/fetch-cookie-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/fetch-cookie/download/fetch-cookie-0.1.3.tgz"},"maintainers":[{"name":"valeriangalliat","email":"val@codejam.info"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/fetch-cookie-0.1.3.tgz_1468348487133_0.48943973681889474"},"directories":{},"publish_time":1468348489090,"_hasShrinkwrap":false,"_cnpm_publish_time":1468348489090,"_cnpmcore_publish_time":"2021-12-16T15:16:15.339Z"},"0.1.2":{"name":"fetch-cookie","version":"0.1.2","description":"Decorator for a `fetch` function to support automatic cookies.","homepage":"https://github.com/valeriangalliat/fetch-cookie","bugs":{"url":"https://github.com/valeriangalliat/fetch-cookie/issues"},"license":"Unlicense","author":{"name":"Valérian Galliat","url":"http://val.codejam.info/"},"files":["index.js","README.md","UNLICENSE"],"repository":{"type":"git","url":"git+https://github.com/valeriangalliat/fetch-cookie.git"},"scripts":{"test":"standard"},"dependencies":{"es6-denodeify":"^0.1.1","object-assign":"^2.0.0","promise":"^7.0.1","tough-cookie":"^1.1.0"},"devDependencies":{"standard":"^4.0.1"},"gitHead":"a48bad0caeb44d1d72e78ca4e5e2e059e6c217c4","_id":"fetch-cookie@0.1.2","_shasum":"c0fb8db3cd994ac4edb732e439de72eb2c15f994","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.0.0","_npmUser":{"name":"valeriangalliat","email":"val@codejam.info"},"dist":{"shasum":"c0fb8db3cd994ac4edb732e439de72eb2c15f994","size":2090,"noattachment":false,"key":"/fetch-cookie/-/fetch-cookie-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/fetch-cookie/download/fetch-cookie-0.1.2.tgz"},"maintainers":[{"name":"valeriangalliat","email":"val@codejam.info"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/fetch-cookie-0.1.2.tgz_1463060917058_0.5301263341680169"},"directories":{},"publish_time":1463060918663,"_hasShrinkwrap":false,"_cnpm_publish_time":1463060918663,"_cnpmcore_publish_time":"2021-12-16T15:16:15.535Z"},"0.1.1":{"name":"fetch-cookie","version":"0.1.1","description":"Decorator for a `fetch` function to support automatic cookies.","homepage":"https://github.com/valeriangalliat/fetch-cookie","bugs":{"url":"https://github.com/valeriangalliat/fetch-cookie/issues"},"license":"Unlicense","author":{"name":"Valérian Galliat","url":"http://val.codejam.info/"},"files":["index.js","README.md","UNLICENSE"],"repository":{"type":"git","url":"git+https://github.com/valeriangalliat/fetch-cookie.git"},"dependencies":{"es6-denodeify":"^0.1.1","object-assign":"^2.0.0","promise":"^7.0.1","tough-cookie":"^1.1.0"},"gitHead":"d5086b4c7b17a104f5a3123bf35af87b48de5c43","_id":"fetch-cookie@0.1.1","scripts":{},"_shasum":"996e55acd5e73ece56528b41dc6e51bb3eac7f97","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.3","_npmUser":{"name":"valeriangalliat","email":"val@codejam.info"},"maintainers":[{"name":"valeriangalliat","email":"val@codejam.info"}],"dist":{"shasum":"996e55acd5e73ece56528b41dc6e51bb3eac7f97","size":2032,"noattachment":false,"key":"/fetch-cookie/-/fetch-cookie-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/fetch-cookie/download/fetch-cookie-0.1.1.tgz"},"directories":{},"publish_time":1432556579231,"_hasShrinkwrap":false,"_cnpm_publish_time":1432556579231,"_cnpmcore_publish_time":"2021-12-16T15:16:16.018Z"},"0.1.0":{"name":"fetch-cookie","version":"0.1.0","description":"Decorator for a `fetch` function to support automatic cookies.","homepage":"https://github.com/valeriangalliat/fetch-cookie","bugs":{"url":"https://github.com/valeriangalliat/fetch-cookie/issues"},"license":{"type":"Unlicense","url":"http://unlicense.org/"},"author":{"name":"Valérian Galliat","url":"http://val.codejam.info/"},"files":["index.js","README.md","UNLICENSE"],"repository":{"type":"git","url":"git+https://github.com/valeriangalliat/fetch-cookie.git"},"dependencies":{"es6-denodeify":"^0.1.1","object-assign":"^2.0.0","promise":"^7.0.1","tough-cookie":"^1.1.0"},"gitHead":"88335d7c473335f66c2064dd3bf42e5599e75052","_id":"fetch-cookie@0.1.0","scripts":{},"_shasum":"122f82577244f384977075415f90a07481796895","_from":".","_npmVersion":"2.8.3","_nodeVersion":"0.12.2","_npmUser":{"name":"valeriangalliat","email":"val@codejam.info"},"maintainers":[{"name":"valeriangalliat","email":"val@codejam.info"}],"dist":{"shasum":"122f82577244f384977075415f90a07481796895","size":2043,"noattachment":false,"key":"/fetch-cookie/-/fetch-cookie-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/fetch-cookie/download/fetch-cookie-0.1.0.tgz"},"directories":{},"publish_time":1430766380749,"_hasShrinkwrap":false,"_cnpm_publish_time":1430766380749,"_cnpmcore_publish_time":"2021-12-16T15:16:16.212Z"}},"readme":"# ???? fetch-cookie [![npm version](https://img.shields.io/npm/v/fetch-cookie?style=flat-square)](https://www.npmjs.org/package/fetch-cookie) [![Build status](https://img.shields.io/github/workflow/status/valeriangalliat/fetch-cookie/Test?style=flat-square)](https://github.com/valeriangalliat/fetch-cookie/actions/workflows/test.yml)\n\n> Decorator for a `fetch` function to support automatic cookie storage\n> and population.\n\n[Migrating from v1](#migrating-from-v1)\n\n## Description\n\nfetch-cookie wraps around a `fetch` function and **intercepts request\noptions and response objects to store received cookies and populate\nrequest with the appropriate cookies**.\n\nThis library is developed with Node.js and `fetch` polyfill libraries such\nas [node-fetch] in mind, since the browser version is supposed to let a\nway [to include cookies in requests][include]. Compatibility may not be\nguaranteed but as long as your library implements the [Fetch standard]\nyou should be fine. In case of incompatibilities, please create a new\nissue.\n\n[Fetch standard]: https://fetch.spec.whatwg.org/\n[node-fetch]: https://www.npmjs.com/package/node-fetch\n[include]: http://updates.html5rocks.com/2015/03/introduction-to-fetch#sending-credentials-with-a-fetch-request\n\nInternally the plugin uses a cookie jar. You can insert your own\n(details below) but [tough-cookie] is preferred.\n\n[tough-cookie]: https://www.npmjs.com/package/tough-cookie\n\n## Usage\n\nWith Node.js 18.3.0 and greater, using the native global `fetch`\nfunction:\n\n```js\nimport makeFetchCookie from 'fetch-cookie'\n\nconst fetchCookie = makeFetchCookie(fetch)\n```\n\nOr with node-fetch:\n\n```js\nimport nodeFetch from 'node-fetch'\nimport fetchCookie from 'fetch-cookie'\n\nconst fetch = fetchCookie(nodeFetch)\n```\n\n### Custom cookie jar\n\nIf you want to customize the internal cookie jar instance (for example,\nwith a custom store), you can inject it as a second argument:\n\n```js\nimport makeFetchCookie from 'fetch-cookie'\n\nconst fetchCookie = makeFetchCookie(fetch, new makeFetchCookie.toughCookie.CookieJar())\n```\n\nHere, we expose the tough-cookie version that we depend on internally so\nyou can just reuse it and don't end up accidentally bundling two\ndifferent versions. That being said you can use any version of\ntough-cookie here, or even any compatible cookie jar.\n\nThis enables you to create multiple fetch-cookie instances that use\ndifferent cookie jars, essentially two different HTTP clients with\ndifferent login sessions on you backend (for example).\n\nAll calls to `fetch` will store and send back cookies according to the\nURL.\n\nIf you use a cookie jar that is not tough-cookie, keep in mind that it\nmust implement this interface to be compatible:\n\n```ts\ninterface CookieJar {\n  getCookieString(currentUrl: string): Promise<string>\n  setCookie(cookieString: string, currentUrl: string, opts: { ignoreError: boolean }): Promise\n}\n```\n\n### Custom cookie jar with options\n\nIf you don't want a custom store and just want to pass [tough-cookie\noptions](https://github.com/salesforce/tough-cookie#cookiejarstore-options),\ne.g. to allow cookies on `localhost`:\n\n```js\nimport makeFetchCookie from 'fetch-cookie'\n\nconst fetchCookie = makeFetchCookie(fetch, new makeFetchCookie.toughCookie.CookieJar(undefined, {\n  allowSpecialUseDomain: true\n}))\n```\n\nOr with a custom store as well:\n\n```js\nimport makeFetchCookie from 'fetch-cookie'\nimport FileCookieStore from 'file-cookie-store'\n\nconst store = new FileCookieStore('cookies.txt')\n\nconst fetchCookie = makeFetchCookie(fetch, new makeFetchCookie.toughCookie.CookieJar(store, {\n  allowSpecialUseDomain: true\n}))\n```\n\n### Ignoring errors\n\nAll errors when setting cookies are ignored by default. You can make it\nthrow errors in cookies by passing a third argument `ignoreError` (defaulting to `true`).\n\n```js\nimport makeFetchCookie from 'fetch-cookie'\n\nconst fetchCookie = makeFetchCookie(fetch, new makeFetchCookie.toughCookie.CookieJar(), false)\n```\n\nWhen set to `false`, fetch-cookie will throw when an error occurs in\nsetting cookies and breaks the request and execution.\n\nOtherwise, it silently ignores errors and continues to make\nrequests/redirections.\n\n### Max redirects\n\nBecause we need to do our own [redirect implementation](#cookies-on-redirects),\nthe way to configure the max redirects is not going to be that of your\nchosen `fetch` implementation, but custom to fetch-cookie.\n\nWe read a `maxRedirect` parameter for that. The default is 20.\n\n```js\nimport makeFetchCookie from 'fetch-cookie'\n\nconst fetchCookie = makeFetchCookie(fetch)\n\nawait fetchCookie(url, { maxRedirect: 10 })\n```\n\n## Cookies on redirects\n\nIn order to handle cookies on redirects, we force the `redirect`\nparameter to `manual`, and handle the redirections internally (according\nto the original `redirect` value) instead of leaving it to the upstream\n`fetch` implementation.\n\nThis allows us to hook into the redirect logic in order to store and\nforward cookies accordingly.\n\nThis is useful for example when a login page sets a session cookie and\nredirects to another page.\n\n## Migrating from v1\n\nThe only breaking change with v2 is that the node-fetch wrapper (that\nwas handling redirects only with node-fetch nonstandard APIs) was\ndropped and the redirects are now always handled by the main export.\n\n```js\n// If you were doing\nconst fetchCookie = require('fetch-cookie/node-fetch')\n\n// Change it to\nconst fetchCookie = require('fetch-cookie')\n\n// Or\nimport fetchCookie from 'fetch-cookie'\n```\n\nThis also means that if you were *not* using the node-fetch wrapper and\nwere happy about cookies *not* being included in redirects, cookies are\nnow going to be stored and sent in redirects as well like they would in\nthe browser.\n\n## Development\n\n```sh\n# Install dependencies\nnpm ci\n\n# Allows to test node-fetch v2 as well as node-fetch v3\nnpm --prefix test/node_modules/node-fetch-2 ci\n\n# Allows to test against Undici by removing the blacklisting of `Set-Cookie` headers\nnpm run patch-undici\n\nnpm run lint\nnpm run type-check\n\n# Generates code in `esm` and `cjs` directories\nnpm run build\n\n# Run tests (depends on the built code)\nnpm test\n\n# Generate type declarations in the `types` directory\nnpm run type-declarations\n```\n\n## Credits\n\n* ???? All the [contributors](https://github.com/valeriangalliat/fetch-cookie/graphs/contributors)\n  to fetch-cookie!\n* ???? [node-fetch](https://github.com/node-fetch/node-fetch) for the\n  redirect logic that we carefully mimic (sadly reimplementing this code\n  was the only way to support cookies in redirects).\n","_attachments":{},"homepage":"https://github.com/valeriangalliat/fetch-cookie#readme","bugs":{"url":"https://github.com/valeriangalliat/fetch-cookie/issues"},"license":"Unlicense"}