Skip to main content

Welcome to UltraFastBuilder

· 2 min read

We're excited to announce the release of UltraFastBuilder, the fastest TypeScript builder library with auto-detection for Zod schemas, classes, and interfaces.

What is UltraFastBuilder?

UltraFastBuilder is a high-performance TypeScript library that provides a unified API for creating objects using three different patterns:

  • Interface Mode: 400,000+ ops/sec for maximum speed
  • Class Mode: 300,000+ ops/sec with method preservation
  • Zod Mode: 100,000+ ops/sec with full validation

Key Features

Auto-Detection: Automatically detects your input type
Ultra-Fast: Optimized for maximum performance
🧠 Memory Efficient: Minimal garbage collection pressure
🔒 Type Safe: Full TypeScript support
♻️ Object Pooling: Built-in performance optimizations
🚫 Non-Blocking: Async validation support

Quick Example

import { builder } from '@noony-serverless/type-builder';
import { z } from 'zod';

// Auto-detects Zod schema
const UserSchema = z.object({
name: z.string(),
email: z.string().email(),
});

const createUser = builder(UserSchema);

const user = createUser().withName('John Doe').withEmail('john@example.com').build(); // ✅ Validated automatically

Why UltraFastBuilder?

Traditional builder patterns are verbose and slow. UltraFastBuilder solves this by:

  1. Auto-detecting your input type (Zod, Class, or Interface)
  2. Generating fluent API methods automatically
  3. Optimizing for maximum performance with object pooling
  4. Providing full type safety with zero runtime overhead

Performance Comparison

LibraryInterfaceClassZodMemory/op
UltraFastBuilder400k+300k+100k+60-120 bytes
Manual Builder50k30k20k200+ bytes
Generic Builder100k80k40k150+ bytes

Get Started

Ready to try UltraFastBuilder? Check out our Quick Start Guide or Installation Guide.

What's Next?

We have exciting plans for the future:

  • 🔄 More validation libraries support
  • 📊 Advanced performance monitoring
  • 🧪 Enhanced testing utilities
  • 📱 React integration helpers

Stay tuned for updates and follow us on GitHub!


UltraFastBuilder is open source and available under the MIT License.