Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/oak/send.ts

A middleware framework for handling HTTP with Deno, Node, Bun and Cloudflare Workers 🐿️ 🦕
Very Popular
Latest
import * as oak from "https://deno.land/x/oak@v17.1.2/send.ts";

Contains the send function which can be used to send static assets while supporting a range of HTTP capabilities.

This is integrated into the oak context via the .send() method.

Functions

Asynchronously fulfill a response with a file from the local file system.

Interfaces

Options which can be specified when using the send middleware.