@buntal/core

Middleware

Built-in middleware functions for common use cases in Buntal applications.

Overview

The Middleware module provides pre-built middleware functions that can be easily integrated into your Buntal applications to handle common concerns like authentication, CORS, and logging.

Components

Authentication & Security

  • auth - Authentication middleware for protecting routes
  • cors - Cross-Origin Resource Sharing (CORS) middleware

Development & Debugging

  • logger - Request logging middleware for debugging and monitoring

Last modified: 2025-06-10

Content-Length: 0