Skip to content

@nogoo9/mcp-server-cloud-fs / transports/security-headers / createSecurityHeaders

Function: createSecurityHeaders()

createSecurityHeaders(options?): Promise<Record<string, string>>

Defined in: transports/security-headers.ts:15

Dynamically import nosecone and create security headers. Returns a Record of header name → value pairs ready to apply to any Response.

Parameters

options?

Record<string, unknown>

Custom nosecone options. See nosecone docs for available options.

Returns

Promise<Record<string, string>>

Security headers as a plain object.

Throws

If nosecone is not installed.

Released under the PolyForm Shield 1.0.0 License.