A collection of ready-to-use Bun examples.
Click to expand
If you are new to bun, I recommend you to get started here What is Bun?
Each example contains a README.md
with an explanation about the example and it's use cases.
Have an example? Submit a PR or open an issue. ⚡️
Example | Author |
---|---|
Hello World In Bun A simple hello world example running on bun runtime. |
adityasonel |
Simple Http Server A simple http server example based on Bun.serve . |
adityasonel |
- Make sure your contribution matches the linting setup for this repo:
Run the linting via
npm run lint
-
Add a
package.json
file in your example with the name of the example and adescription
and anydependencies
used. -
Regenerate the README.md with the following command
npm run docs
- Open a new pull request with your example. ⚡️