Skip to main content
Module

x/ts_serve/src/file_server.ts

Transpile TypeScript on the fly and deliver it from your server as ES Modules.
Latest
import * as tsServe from "https://deno.land/x/ts_serve@v1.4.4/src/file_server.ts";

Functions

This can be used in the same way as the serveDir function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.

This can be used in the same way as the serveFile function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.

Interfaces

Interface for serveDir options.

Interface for serveFile options.