UNPKG

@adonisjs/shield

Version:

A middleware for AdonisJS to keep web applications secure from common web attacks

8 lines (7 loc) 278 B
import { noop } from '../noop.js'; import { XFrameOptions } from '../types.js'; /** * Factory function that returns a function to set `X-Frame-Options` header * based upon given user options. */ export declare function frameGuardFactory(options: XFrameOptions): typeof noop;