BUILT BY HYPERBRIDGE DIGITAL · ENTERPRISE FRAMEWORK

The JavaScript framework
HyperBridge built for itself.

19 modules. 81,954 lines. Zero dependencies. After 3 years of internal use across 20+ client projects — now available to everyone.

hbforge.dev →GitHub ★ Star
www.hbforge.dev
$npm install @hyperbridge/forge
19
Modules
81,954
Lines of Code
1,000+
APIs
0
Dependencies

Origin Story

We built HBForge because we needed it.

HyperBridge Digital builds enterprise software for clients across fintech, legal, hospitality, and public safety. Every project started identically — a fresh Next.js scaffold, then fifteen minutes of npm installs, then the slow creep of transitive dependencies nobody audited. 1,200 packages for a form and a database call.

After three years and thirty platforms, we decided to stop tolerating it. We built our own toolkit — one we could audit completely, trust absolutely, and update without fear of a breaking change cascade. No third-party authors whose priorities we couldn't control. No supply chain surface we couldn't see end to end.

HBForge ran every HyperBridge production platform internally for three years before we released it publicly. The edge cases are already handled. The performance is already proven. The security model is already validated. This isn't a framework we built and then tested — it's a framework we tested by building everything else.

"
We don't ship software we can't fully understand. HBForge is the only framework where we can say: we read every line.
KR
KR
Founder & CEO, HyperBridge Digital

The Value Proposition

One install. Everything included.

This matters for enterprise clients with supply chain security requirements. One package to review. One team to call.

YOUR CURRENT STACK
reactreact-router@tanstack/react-queryexpressprismapassportnodemailerchart.jslangchainjestcommanderpdfkitzodreact-hook-formframer-motioni18nextworkboxsonner...42 more
60+ packagesto install & maintain
1,200+ transitive depsunknown attack surface
Multiple security auditsacross different teams
Breaking changescascade unpredictably
WITH HBFORGE
npm install @hyperbridge/forge
1 package19 modules, everything included
0 transitive depscomplete supply chain visibility
1 security reviewone team, one codebase
Coordinated updatesno breaking cascade

The Framework

19 modules. Every layer covered.

From first signal() to last res.json() — it's all HBForge. Nothing external. Nothing unknown.

forge/client
11,032 lines

Signals-based UI framework with fine-grained reactivity

replaces: React · React Router · TanStack Query · Zustand · Framer Motion

forge/server
9,900 lines

HTTP server, WebSocket, GraphQL engine, middleware pipeline, job queues, cron

replaces: Express · Fastify · Apollo · socket.io · Bull · node-cron

forge/animate
7,384 lines

Spring physics, tweens, scroll-triggered animations, WAAPI bindings

replaces: Framer Motion · GSAP · Motion One

forge/chart
5,613 lines

Canvas-based data visualisation, 12 chart types, real-time streaming

replaces: Chart.js · Recharts · D3

forge/mail
5,508 lines

SMTP, HTML templates, scheduling, multi-provider fallback

replaces: Nodemailer · SendGrid SDK · MJML · Resend

forge/3dNEW
5,400 lines

WebGL2 3D engine — PBR materials, particles, post-processing (bloom, SSAO, glitch), animation system, raycaster

replaces: Three.js · @react-three/fiber · Babylon.js · OGL

forge/pdf
4,858 lines

PDF generation in server and browser environments, vector graphics, forms

replaces: PDFKit · jsPDF · Puppeteer

forge/data
4,919 lines

PostgreSQL wire-protocol ORM, migrations, transactions, relationships

replaces: Prisma · Drizzle · Knex · pg

forge/aiNEW
4,328 lines

Vendor-agnostic LLM, streaming, RAG pipeline, tool-calling, conversation management

replaces: LangChain · OpenAI SDK · Vercel AI · LlamaIndex · tiktoken

forge/test
3,221 lines

Test runner, assertion library, coverage, mocking, snapshot testing

replaces: Jest · Vitest · Testing Library · Chai · Sinon

forge/auth
3,155 lines

JWT, OAuth 2.0, TOTP/2FA, RBAC, session management, passwordless

replaces: NextAuth · Passport · Lucia · bcrypt · speakeasy

forge/cli
2,855 lines

CLI framework with prompts, progress bars, argument parsing, colours

replaces: Commander.js · Inquirer · Yargs · Ora · Chalk

forge/pwa
2,823 lines

Progressive Web App — service workers, offline strategies, push subscriptions, install prompt

replaces: Workbox · next-pwa · pwa-asset-generator

forge/schema
2,683 lines

Runtime schema validation with TypeScript inference, coercion, error formatting

replaces: Zod · Yup · Joi · Valibot

forge/search
2,254 lines

BM25 full-text search with faceting, ranking, and semantic retrieval

replaces: FlexSearch · Fuse.js · Lunr · Algolia SDK

forge/notify
1,829 lines

Cross-channel notifications: in-app, push, toast, email

replaces: Novu · react-hot-toast · Sonner · OneSignal

forge/form
1,704 lines

Form state, validation, async submission, file handling, multi-step flows

replaces: react-hook-form · Formik · Final Form

forge/i18n
1,430 lines

Internationalisation, locale management, pluralisation, RTL support

replaces: i18next · react-intl · next-intl

forge/displayNEW
955 lines

Retina/4K detection, adaptive DPR scaling, quality tiers, CSS variable injection, WebGL DPR setup

replaces: Manual dpr/matchMedia code · device detection libraries

NEW MODULE

AI-native from day one.
No third-party SDK required.

forge/ai is a vendor-agnostic LLM layer built into the framework. Streaming, RAG pipelines, tool-calling, and conversation management — without importing OpenAI, LangChain, or Vercel AI SDK.

OpenAIsupported
Anthropicsupported
Google Geminisupported
Ollamasupported
Streaming Chat
import { ai } from "@hyperbridge/forge";

const stream = await ai.stream({
  model: "gpt-4o",
  messages: [{ role: "user",
    content: "Explain supply chain security" }],
  onChunk: (chunk) => process.stdout.write(chunk),
});
RAG Pipeline
import { ai, vector } from "@hyperbridge/forge";

// Embed your documents once
await vector.ingest(docs, { namespace: "contracts" });

// Query with context
const answer = await ai.rag({
  query: "What is the termination clause?",
  namespace: "contracts",
  topK: 5,
});
Tool Calling
import { ai } from "@hyperbridge/forge";

const result = await ai.complete({
  model: "claude-3-5-sonnet",
  tools: [{
    name: "get_invoice",
    description: "Fetch invoice by ID",
    handler: async ({ id }) => db.invoices.find(id),
  }],
  messages: [{ role: "user",
    content: "Get invoice INV-2024-001" }],
});
4,328
lines of code
4
packages replaced
4
LLM providers
Streaming + RAG + Tools
built-in

Use Cases

Production-proven patterns

SaaS Platform

MODULES USED

forge/clientforge/serverforge/authforge/dataforge/mail

REPLACED

React + Express + Prisma + NextAuth + Nodemailer

Single package audit. One security model. 62% fewer dependencies.

Enterprise Dashboard

MODULES USED

forge/clientforge/chartforge/dataforge/formforge/schema

REPLACED

React + Chart.js + Prisma + react-hook-form + Zod

48% smaller bundle. Consistent data validation across all layers.

AI-Powered API

MODULES USED

forge/serverforge/aiforge/authforge/dataforge/schema

REPLACED

Fastify + LangChain + Passport + Drizzle + Joi

Zero external LLM SDK. Full streaming. RAG in 8 lines.

Offline-capable PWA

MODULES USED

forge/clientforge/pwaforge/notifyforge/i18nforge/animate

REPLACED

React + Workbox + Novu + i18next + Framer Motion

Native offline. Install prompt. Push notifications. No Workbox config.

Trust

Built by the people who use it in production.

HBForge isn't a side project. It's the foundation every HyperBridge client platform runs on.

3 years in production

HBForge has powered internal HyperBridge platforms since 2022. Every edge case it handles was discovered in a real client project, not a unit test.

Full code audit available

Enterprise clients can request a complete code review of all 19 modules. We have nothing to hide because we wrote every line ourselves.

Single vendor accountability

One team. One codebase. One support contract. When something breaks, there's no finger-pointing between three npm package authors.

Enterprise services available

HyperBridge Digital provides enterprise support, custom module development, and integration services for HBForge.

Talk to us →

Pricing

Open source at the core.

OPEN SOURCE
Free
MIT License · Forever
All 19 modules
Full source access
GitHub community support
npm install @hyperbridge/forge
Read the docs →
ENTERPRISE
Custom
Pricing on request
SLA support contract
Private modules on request
Complete code audit report
Dedicated integration support
Custom licensing terms
Contact HyperBridge →

Get started

Start building with HBForge today.

The same framework powering 20+ HyperBridge enterprise platforms. Now yours.

Read the docs →Talk to us about enterprise