Middleware that rewrites Franklin HTML so it can be readily rendered
Uses Deno 1.45.1, you can get it on macOS by doing brew install deno
You can get homebrew by doing
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
First, init the esm.sh CLI script
deno run -A -r https://esm.sh init
You manage your imports like so
# Adding packages
deno task esm:add optics-ts cheerio
# Updating packages
deno task esm:update optics-ts
deno task esm:update # update all
# Removing Packages
deno task esm:remove cheerio
To run a file
deno run --allow-read --allow-net artemis.ts
you can read more here: