In readme, please clarify what req.cookies and req.signedCookies will be when no cookies are received.

Open
#107 0 comments 0 reactions 0 assignees View on GitHub

@Hashim1999164 is already working on this.

Since Jul 26, 2026.

  • #170 by @Hashim1999164 — open

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
45/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript, node.js
Domain
documentation

Research direction

Start with the repository README and confirm what req.cookies and req.signedCookies contain when no cookies are received. Document those values so the README clearly distinguishes whether each is {}, false, or undefined.

Written by the indexing model from the issue text.

Description

I'd assume they will be {}.
I'd prefer false.
I hope it's not undefined.
In either case, I'd want to know from reading the readme, so I don't have to download the package and set up a minimal express server just to figure it out.

Dominant language
JavaScript
Stars
2k
Forks
237
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from expressjs/cookie-parser

All issues in expressjs/cookie-parser

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.