mirror of
https://github.com/denoland/deno.git
synced 2025-02-19 11:52:52 -05:00

There are more uses of `deno.land/std` in the codebase, but for URL parsing purposes rather than network calls or documentation.
5 lines
167 B
TypeScript
5 lines
167 B
TypeScript
import { ServerRequest } from "jsr:@std/http/server";
|
|
|
|
export default (req: ServerRequest) => {
|
|
req.respond({ body: `Hello, from Deno v${Deno.version.deno}!` });
|
|
};
|