UNPKG

@kth/cortina-block

Version:

Node.js module for fetching Cortina blocks and optionally cache using Redis.

5 lines (4 loc) 266 B
import type { NextFunction, Request } from 'express'; import { Config, ExtendedResponse } from './types'; export * from './types'; export declare function cortinaMiddleware(config: Config): (req: Request, res: ExtendedResponse, next: NextFunction) => Promise<void>;