Hacker News new | ask | show | jobs
by mekster 2313 days ago
I don't get why it doesn't support cookies but says to parse Set-Cookie header manually and implement it yourself.
1 comments

there's https://www.npmjs.com/package/fetch-cookie for node

  // fetch with cookies:
  const fetch = require('fetch-cookie/node-fetch')(require('node-fetch'));