create-function
Create edge functions for Deno runtime by writing code to files for version control, enabling serverless execution in production cloud infrastructure.
Instructions
Create a new edge function that runs in Deno runtime. The code must be written to a file first for version control
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| slug | No | ||
| description | No | ||
| status | No | active | |
| codeFile | Yes | Path to JavaScript file containing the function code. Must export: module.exports = async function(request) { return new Response(...) } |