1.0.1 • Published 1 year ago

fuzen-bun v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

📦 Key Features

  • HTTP Middleware - Easily integrate custom middleware functions to process requests and responses.
  • Raw & JSON body parse from POST - Automatically parse incoming POST request bodies, supporting both raw data and JSON formats.
  • Async requests - Effortlessly handle asynchronous operations within your request handlers.
  • Implemented middlewares - Cors, Rate Limit - all included, with no third-party libraries. And much more coming soon...

🚀 Getting Started

⚙️ Installation

bun add fuzen-bun

🤖 Basic usage example

import { Fuzen } from "fuzen-bun";

const server = new Fuzen({ server: { port: 8080 } });

server.get("/", (request, response) => {
  response.send("Hello, Fuzen! 👋");
});

server.listen();

👷 Advanced examples

You can see the examples in our tests.

🤝 Contributing

We welcome contributions from the community to make FUZEN even more robust and feature-rich. Feel free to open issues, submit pull requests, or provide feedback to help us improve and evolve this tool.

1.0.1

1 year ago

1.0.0

1 year ago