Last active
September 13, 2022 16:53
-
-
Save nathanclevenger/44ce22068cca9a69ee6037cdfb9753b2 to your computer and use it in GitHub Desktop.
Test ESBuild HTTP Import
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default obj => new Response(JSON.stringify(obj, null, 2)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json from 'https://gist.githubusercontent.com/nathanclevenger/44ce22068cca9a69ee6037cdfb9753b2/raw/0454457869df526b490f9f2fb31d2ece2ae9b2e2/module.js' | |
import { Hono } from 'https://deno.land/x/hono/mod.ts' | |
export default { | |
fetch: req => json({ hello: 'world' }) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment