UNPKG

next-csrf

Version:

CSRF mitigation library for Next.js

5 lines (4 loc) 165 B
/// <reference types="node" /> import { IncomingMessage } from "http"; declare function getCookie(req: IncomingMessage, name: string): string; export { getCookie };