Skip to main content

Built and signed on GitHub Actions

Simple logging middleware for Oak.

This package works with DenoIt is unknown whether this package works with Bun, Cloudflare Workers, Browsers
JSR Score
100%
Published
a month ago (0.1.3)
function middleware

Returns middleware passed to Oak during initialization.

Examples

Example 1

import { middleware } from "@quirkware/logger";

// Pass the logging middleware to an Oak application.
app.use(middleware());

Return Type

Add Package

deno add @quirkware/logger

Import symbol

import { middleware } from "@quirkware/logger/middleware";

Add Package

bunx jsr add @quirkware/logger

Import symbol

import { middleware } from "@quirkware/logger/middleware";