index.js
function parseForwarded(value) {
  const forwarded = {}

  value.trim().split(';').forEach((part) => {
    const pair = part.trim().split('=');
    forwarded[pair[0]] = pair[1];
  });

  return forwarded;
}
function parseForwarded(value) {
  const forwarded = {}

  value.trim().split(';').forEach((part) => {
    const pair = part.trim().split('=');
    forwarded[pair[0]] = pair[1];
  });

  return forwarded;
}
function parseForwarded ( value ) { const forwarded = { } value . trim ( ) . split ( ';' ) . forEach ( ( part ) => { const pair = part . trim ( ) . split ( '=' ) ; forwarded [ pair [ 0 ] ] = pair [ 1 ] ; } ) ; return forwarded ; }
parse Forwarded header
parse Forwarded header