src/helpers.js
function serializeCookie(cookie) {
  return {
    path: cookie.path,
    name: cookie.key,
    value: cookie.value,
    domain: cookie.domain
  };
}
function serializeCookie(cookie) {
  return {
    path: cookie.path,
    name: cookie.key,
    value: cookie.value,
    domain: cookie.domain
  };
}
function serializeCookie ( cookie ) { return { path : cookie . path , name : cookie . key , value : cookie . value , domain : cookie . domain } ; }
Serialize a tough-cookie Cookie instance
Serialize a tough - cookie Cookie instance