GitHunt
3N

3nobita/-3nobita-server

๐Ÿ”ฅ Blazing fast and minimal web server framework made by Bhavesh Shinde aka @3nobita โ€” an Express-style API for your custom Node.js apps.

@3nobita/server

npm
npm
License
bundlephobia
MadeWithLove

A lightweight Node.js HTTP framework alternative to Express.
Super fast, super clean, and easy to use.
Lightweight web server framework made by Bhavesh Shinde ๐Ÿง ๐Ÿ”ฅ

Install

npm i @3nobita/server

create app.js and add this code

const server = require('@3nobita/server')(); // ๐Ÿ‘ˆ User is using your framework

// ๐Ÿงฉ User-defined middlewares
server.use((req, res, next) => {
    console.log(`[LOG] ${req.method} - ${req.url}`);
    next();
});

server.use((req, res, next) => {
    req.timestamp = Date.now();
    next();
});

// ๐Ÿš€ User-defined route
server.get('/', (req, res) => {
    res.send(`Request received at ${new Date(req.timestamp).toISOString()}`);
});

server.listen(3000, () => {
    console.log('Server running on port 3000');
});

How to Contribute

Interested in contributing? Here's how you can help:

  1. Fork the repository.
  2. Make your changes.
  3. Create a Pull Request.

We'd love to have your help! Check out our CONTRIBUTING.md for more details.

-3nobita-server framework

Contributors

Latest Release

v1.0.7April 24, 2025
MIT License
Created April 18, 2025
Updated May 14, 2025
3nobita/-3nobita-server | GitHunt