1.1.8 • Published 9 months ago

wobe v1.1.8

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

What is Wobe?

Wobe is a simple, fast, and lightweight web framework. Inspired by some web frameworks like Express, Hono, Elysia. It works on Node and Bun runtime.

Wobe is very fast but not focused on performance; it focuses on simplicity and ease of use. It's very easy to create a web server with Wobe.

Install

bun install wobe # On bun
npm install wobe # On npm
yarn add wobe # On yarn

Basic example

import { Wobe } from 'wobe'

const app = new Wobe()
	.get('/hello', (context) => context.res.sendText('Hello world'))
	.get('/hello/:name', (context) =>
		context.res.sendText(`Hello ${context.params.name}`),
	)
	.listen(3000)

Features

  • Simple & Easy to use: Wobe respects the standard and provides a large ecosystem.
  • Fast & Lightweight: Wobe is one of the fastest web framework on Bun, and it has 0 dependencies (only 9,76 KB).
  • Multi-runtime: Wobe supports Node.js and Bun runtime.
  • Easy to extend: Wobe has an easy-to-use plugin system that allows extending for all your personal use cases.

Benchmarks (on Bun runtime)

Wobe is one of the fastest web framework based on the benchmark of SaltyAom.

FrameworkRuntimeAveragePingQueryBody
bunbun92,639.313103,439.1791,646.0782,832.7
elysiabun92,445.227103,170.4788,716.1785,449.04
wobebun90,535.3796,348.2694,625.6780,632.18
honobun81,832.78789,200.8281,096.375,201.24
fastifybun49,648.97762,511.8558,904.5127,530.57
expressbun31,370.0639,775.7936,605.6817,728.71

Executed with 5 runs - 12/04/2024

Contributing

Contributions are always welcome! If you have an idea for something that should be added, modified, or removed, please don't hesitate to create a pull request (I promise a quick review).

You can also create an issue to propose your ideas or report a bug.

Of course, you can also use Wobe in your application; that is the better contribution at this day ❤️.

If you like the project don't forget to share it.

More informations on the Contribution guide

License

Distributed under the MIT License.

1.1.8

9 months ago

1.1.7

11 months ago

1.1.6

11 months ago

1.1.5

11 months ago

1.1.4

11 months ago

1.1.3

11 months ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago