Deno Server

DinoSsr is an experimental work in progress and subject to change!

The mod.ts file at the root of the project is the server entry point.

import {DinoSsr} from 'jsr:@ssr/dinossr';

const dir = new URL('./', import.meta.url).pathname;
const dinossr = new DinoServer(dir);
await dinossr.init();

This is started with: deno run -A mod.ts.

Provide an optional directory path that for the project root. Either absolute or relative to Deno.cwd(). The current working directory is used as default.