Introduction
HazelJS is a modern, lightweight, enterprise-grade Node.js framework with monorepo architecture. Build scalable server-side applications using TypeScript and decorators, with built-in AI capabilities and enterprise security.
Why HazelJS?
HazelJS provides a robust architecture for building scalable applications with modular packages, lightweight design, built-in AI service integration, and enterprise-grade security features.
Modular Architecture
Organize code into reusable modules with a decorator-based API. Clean, intuitive programming model with full TypeScript support and dependency injection.
Enterprise Features
Advanced DI with multiple scopes, exception filters, configuration module, testing utilities, API versioning, and more - all built-in.
Getting Started
Ready to start building with HazelJS? Follow our quick start guide to get up and running in minutes.
📦 Installation
Get started with HazelJS
📚 Guides
In-depth tutorials and guides
🔌 API Reference
Complete API documentation
Key Features
- Decorator-based API
Clean, intuitive programming model with @Controller, @Injectable, @Get, @Post decorators.
- Advanced Dependency Injection
Singleton, Transient, and Request-scoped providers with circular dependency detection.
- Built-in AI Service
Native OpenAI and Ollama integration for building AI-powered applications.
- Prisma Integration
First-class ORM support with repository pattern and automatic migrations.
- Exception Filters & Testing
Centralized error handling and full test module builder with mocking support.
- Advanced Routing
Wildcards, optional params, API versioning with multiple strategies.
Community
Join our growing community of developers building with HazelJS. We welcome contributions of all kinds, from bug reports to feature requests and pull requests.