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};

fetch-cookie

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

Unlicense
Latest version published 9 months ago

Package Health Score

78 / 100
Full package analysis

Popular fetch-cookie functions

Similar packages