Last active
November 16, 2022 12:08
-
-
Save ikku47/fedfa07d0f4d2cfde16a4133e525c6ac to your computer and use it in GitHub Desktop.
Hello world program for bun
This file contains 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
// http.ts | |
export default { | |
port: 3000, | |
fetch(request: Request) { | |
return new Response('Hello World'); | |
}, | |
}; | |
// bun ./http.ts |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment