Skip to main content

Vegaa RocketVegaa

⚑ A lightning-fast, zero-boilerplate Node.js framework

Build fast APIs with zero boilerplate. Automatic parameter injection, Express middleware compatibility, and pure developer joy.

πŸš€Quick Start

npm install vegaa
import { vegaa, route } from 'vegaa'

route('/ping').get(() => ({ message: 'pong' }))

await vegaa.startVegaaServer()
// Server running on http://localhost:4000

✨Key Features

  • πŸ”’
    Automatic Parameter Injection

    No more `req.params.id`β€”just declare what you need

  • πŸ“Š
    Built-in Middleware System

    Global and route-specific middleware support

  • πŸ”—
    Express Middleware Compatibility

    Use existing Express middleware seamlessly

  • 🌿
    Zero Dependencies

    Minimal core with optional plugins

  • ⚑
    Lightning Fast

    Built on Fastify's core for maximum performance

  • πŸ› οΈ
    Built-in Plugins

    CORS, JSON, Body Parser, Static Files, HTTP Client

  • πŸ“¦
    Response Helpers

    HTML, text, and JSON response utilities

  • πŸ”’
    Production-Ready

    Cluster mode support for multi-core scaling

Write Less, Do More

Traditional Express

app.get('/user/:id', (req, res) => {
const user = req.user
const id = req.params.id
res.json({ user, id })
})

With Vegaa

route('/user/:id').get((user, id) => ({
user, id
}))