How to use fetch-cookie - 1 common examples

To help you get started, we’ve selected a few fetch-cookie examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github pouchdb / pouchdb / packages / node_modules / pouchdb-fetch / src / fetch.js View on Github external
'use strict';

import nodeFetch, {Headers} from 'node-fetch';
import fetchCookie from 'fetch-cookie';
import AbortController from 'abort-controller';

var fetch = fetchCookie(nodeFetch);

export {fetch, Headers, AbortController};


Decorator for a `fetch` function to support automatic cookies.

Latest version published 2 months ago

Package Health Score

84 / 100
Full package analysis

Popular fetch-cookie functions

Similar packages