Core Features

Advanced Routing

  • RESTful route definitions
  • Dynamic path parameters
  • Query parameter parsing
  • Regular expression routes

Middleware System

  • Standard middleware chain
  • Error handling middleware
  • Built-in static file middleware
  • Async middleware support

Templating Engine

  • Built-in Novax template engine
  • Conditionals (#if, #else, #elif)
  • Loops (#each)
  • Variable interpolation
  • Nested templates
  • Automatic HTML escaping

File Handling

  • Static file serving
  • File uploads with size limits
  • MIME type detection
  • Direct file responses

Security

  • Configurable CORS
  • Request body parsing
  • Error handling
  • File upload protections

Performance

  • Lightweight core
  • Optimized routing
  • Minimal overhead
  • Efficient middleware

Customization

  • Global CSS injection
  • Global JavaScript injection
  • Custom error pages
  • Response helpers