Cookies API mozilla
The cookie module provides utilities for working with cookies.
To use this module:
const cookies = require('cookies');
<object> An object containing details that can be used to match cookies to be retrieved
<object> array of cookie objectsRetrieves all cookies from a cookie store that match the given information.
<object> An object containing details that can be used to match cookies to be retrievedSet cookie
Deletes a cookie by name.