UNPKG

utquidem

Version:

The meta-framework suite designed from scratch for frontend-focused modern web development.

9 lines (7 loc) 254 B
import { hook } from '@modern-js/runtime/server'; import { Request, Response, NextFunction } from 'express'; export default hook(({ addMiddleware }) => { addMiddleware(async (req: Request, res: Response, next: NextFunction) => { next(); }); });