Skip to main content

CatBee

Production-Grade Utilities for Angular & TypeScript

A production-grade utility ecosystem for Angular and TypeScript applications. Battle-tested in enterprise environments, offering 25+ specialized utilities, complete SSR support, and zero dependencies. Every module is tree-shakable, fully typed, and optimized for minimal bundle impact.

0
Packages
0%
Type Safe
0
Dependencies
catbee.ts
import { ServerConfigBuilder, ExpressServer } from '@catbee/utils';

const config = new ServerConfigBuilder()
.withPort(3000)
.withCors({ origin: '*' })
.enableRateLimit({ max: 50, windowMs: 60000 })
.enableRequestLogging({ ignorePaths: ['/healthz', '/metrics'] })
.withHealthCheck({ path: '/health', detailed: true })
.enableOpenApi('./openapi.yaml', { mountPath: '/docs' })
.withGlobalHeaders({ 'X-Powered-By': 'Catbee' })
.withGlobalPrefix('/api')
.withRequestId({ headerName: 'X-Request-Id', exposeHeader: true })
.enableResponseTime({ addHeader: true, logOnComplete: true })
.build();

const server = new ExpressServer(config);

server.registerHealthCheck('database', async () => await checkDatabaseConnection());
server.useMiddleware(loggingMiddleware, errorMiddleware);

await server.start();
server.enableGracefulShutdown();

workspace_premium Why Choose Catbee?

Purpose-built for modern TypeScript and Angular applications. Zero compromises on quality, performance, or developer experience.

account_tree

Modular & Tree-Shakable

Import only what you need. Every utility is independently importable with full tree-shaking support. Dead code elimination keeps your production bundles lean—often under 2KB per utility.
check_circle Zero Bloatcheck_circle Optimal Bundles
factory

Production-Ready

Battle-tested in enterprise environments. Comprehensive error handling, detailed logging, SSR compatibility, and security utilities. Trusted by production applications serving millions of users.
check_circle SSR Supportcheck_circle Error Handling

TypeScript First

100% type-safe with strict mode enabled. Rich type definitions, intelligent autocomplete, and compile-time error detection. Catch bugs before runtime with full IntelliSense support.
check_circle Strict Modecheck_circle IntelliSense
cloud_off

Zero Dependencies

No bloat, no conflicts. Pure TypeScript implementations that keep your bundle lean and build times fast.
flash_on

Performance First

Optimized algorithms, lazy loading, and tree-shaking support. Every byte counts in production.
library_books

Fully Documented

Extensive API documentation, real-world examples, and migration guides. Get productive in minutes.

Get Started in Seconds

Choose your package manager and start building amazing applications with Catbee.

$npm install @catbee/utils
@catbee/utils@ng-catbee/cookie@ng-catbee/indexed-db@ng-catbee/jwt@ng-catbee/loader@ng-catbee/monaco-editor@ng-catbee/storage