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

x/aleph/server/helpers.ts>fetchCode

The Full-stack Framework in Deno.
Go to Latest
function fetchCode
import { fetchCode } from "https://deno.land/x/aleph@1.0.0-beta.15/server/helpers.ts";

Fetch source code from fs/cdn/cache.

Parameters

specifier: string
optional
target: TransformOptions["target"]

Returns

Promise<[string, string]>