Decorator for a fetch function to support automatic cookies.
fetch-cookie
Decorator for a fetch function to support automatic cookie storage and population.
Description
fetch-cookie wraps arround a fetch function and intercepts request options and response
objects to store received cookies and populate request with the appropriate cookies.
This library is developed with Node.Js and fetch polyfill libraries such as node-fetch in mind, since
the browser version is supposed to let a way to include cookies in requests.
Compatibility may not be guaranteed but as long as your library implements the Fetch Standard you should be fine.
In case of incompatibilities, please create a new issue.
Internally the plugin uses a cookie jar. You can insert your own (details below) but tough-cookie is preferred.
Usag