Bunary is v0.x and under active development — APIs may still move between minor releases.

    Introduction

    Bunary is a Bun-first backend platform inspired by Laravel, focused on expressive developer experience, fast startup, and minimal operational overhead.

    Why Bunary?

    Backend developers using JavaScript/TypeScript face a tradeoff. Node.js frameworks like NestJS and Express are flexible but verbose, decorator-heavy, or boilerplate-heavy. Modern runtimes like Bun are incredibly fast, but lack opinionated backend frameworks with strong developer experience. Laravel delivers exceptional DX, but PHP isn't the preferred runtime for many teams.

    Bunary fills this gap as a Bun-native backend platform that provides strong conventions, sensible defaults, and batteries-included primitives — without enterprise ceremony or Node-era baggage.

    Key Features

    Bun-First

    Built from the ground up for Bun's incredible speed and native TypeScript support.

    Laravel-Inspired

    Familiar patterns and elegant syntax that developers love, brought to TypeScript.

    High Performance

    Optimized for building scalable, production-ready APIs with minimal overhead.

    Great DX

    TypeScript-first with excellent tooling and developer experience.

    First Steps

    Ready to get started? Install Bunary and create your first API in minutes:

    # Install the CLI globally
    bun add -g @bunary/cli
    
    # Create a new project
    bunary init my-api
    
    # Install dependencies and start
    cd my-api && bun install && bun run dev
    

    Packages

    Bunary offers two installation options:

    Umbrella package — Install everything in one step:

    bun add bunary
    

    Use import { createApp, env } from "bunary" or subpaths: bunary/core, bunary/http, bunary/auth.

    Individual packages — Install only what you need under the @bunary npm scope:

    PackageDescription
    @bunary/coreConfiguration, environment, and app foundation
    @bunary/httpHTTP layer with routing and middleware
    @bunary/authAuthentication manager with guard abstraction
    @bunary/cliCLI for project scaffolding and generators
    @bunary/ormORM with database abstraction layer

    Last updated