Skip to content

See how your app actually fits together. An interactive, plain-English map of your codebase, drawn by Claude or Codex.

120 B
Raw Blame
export const requireAuth = (fn) => (req, res) => (req.headers.authorization ? fn(req, res) : res.writeHead(401).end());