UNPKG

next-csrf

Version:

CSRF mitigation library for Next.js

5 lines (4 loc) 242 B
import { StackFrame } from 'stacktrace-parser'; export declare function getFilesystemFrame(frame: StackFrame): StackFrame; export declare function isNodeError(error: Error): boolean; export declare function getNodeError(error: Error): Error;