Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/aleph/server/mod.ts>Aleph#addModule

The Full-stack Framework in Deno.
Go to Latest
method Aleph.prototype.addModule
Re-export
import { Aleph } from "https://deno.land/x/aleph@v0.3.0-beta.3/server/mod.ts";

add a module by given path and optional source code.

Parameters

specifier: string
sourceCode: string

Returns

Promise<Module>