/sandbox-bun

[Bun is a fast all-in-one JavaScript runtime](https://bun.sh/) sandbox.

Primary LanguageJavaScriptMIT LicenseMIT

sandbox-bun

Bun is a fast all-in-one JavaScript runtime sandbox.

Quick start

# Install
curl https://bun.sh/install | bash

# create server.js
touch http.js
// http.js
export default {
  port: 3000,
  fetch(request) {
    return new Response("Welcome to Bun!");
  },
};
bun run http.js
curl localhost:3000
Welcome to Bun!