Skip to content
/ yucatan Public

deploy deno scripts to cloudflare workers

Notifications You must be signed in to change notification settings

slymax/yucatan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Yucatan

Yucatan is a tiny framework that allows you to run servers locally using Deno and to deploy them to Cloudflare Workers.

// index.js
import { serve, schedule } from "https://slymax.com/yucatan/yucatan.js";

serve(request => {
  // runs on a worker request
  return new Response("Hello World!");
});

schedule(event => {
  // runs when a worker is scheduled
});

Run locally with Deno:

deno run index.js

Deploy to Cloudflare Workers:

deno run -A https://slymax.com/yucatan/deploy.js index.js

About

deploy deno scripts to cloudflare workers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published