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

x/dectyl/mod.ts

Prototype library for testing Deno Deploy scripts using the Deno CLI
Go to Latest
import * as dectyl from "https://deno.land/x/dectyl@0.6.2/mod.ts";

Functions

Create a web worker which runs the provided module and its dependencies in a Deploy-like environment, and returns an API to interact with the loaded program.

A fetch handler that returns local files that are requested by the worker.

Set the API's logging level. For the worker runtime, this only affects newly created workers.

Return a request init that mocks what a Chromium request would look like from a client.