src/index.js
function getSessionCookie (headers) {
  if (!headers) return
  const cookie = parse(headers)
  if (cookie.session) return cookie.session
}
function getSessionCookie (headers) {
  if (!headers) return
  const cookie = parse(headers)
  if (cookie.session) return cookie.session
}
function getSessionCookie ( headers ) { if ( ! headers ) return const cookie = parse ( headers ) if ( cookie . session ) return cookie . session }
Extract the session cookie value from an array of set-cookie headers.
Extract the session cookie value from an array of set - cookie headers .