Skip to content

Latest commit

 

History

History

deno

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

deno example

This example demonstrates using @benzene/http with Deno.

Demo on Deno Deploy

How to use

Download the example

curl https://codeload.github.com/hoangvvo/benzene/tar.gz/main | tar -xz --strip=2 benzene-main/examples/deno
cd deno

Run it:

deno run --allow-net --import-map=./import_map.json main.ts

Deploy to Deno Deploy using deployctl:

deployctl deploy --project=benzene-example --import-map=./import_map.json --token=$DENO_DEPLOY_TOKEN main.ts