Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 635 Bytes

README.md

File metadata and controls

26 lines (17 loc) · 635 Bytes

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