UNPKG

csp-builder

Version:

A builder tool to help generate Content Security Policies in a type-safe way

9 lines (8 loc) 219 B
import { Directives } from './types'; export declare class Builder { level: number; private directives; constructor(level?: number); addDirective(directive: Directives): this; stringify(): string; }