Documentation Index
Fetch the complete documentation index at: https://mintlify.com/juanjh1/asimilation/llms.txt
Use this file to discover all available pages before exploring further.
What is Asimilation?
Asimilation is a minimalist TypeScript web framework designed for building fast, type-safe HTTP servers with an intuitive API. It provides a clean separation between routing, middleware, and request handling, making it easy to build scalable web applications.Key Features
Type-Safe
Built with TypeScript from the ground up, providing full type safety for your routes and handlers
Django-Style Routing
Familiar URL patterns with dynamic parameters like
/<int:id> and /<slug:title>Middleware Pipeline
Flexible middleware system for both global and route-specific processing
Minimal & Fast
Lightweight core built on Node.js HTTP with minimal dependencies
Quick Example
Here’s a simple server with both static and dynamic routes:How Asimilation Compares
vs Express
- Routing: Asimilation uses Django-style URL patterns (
/<int:id>) instead of Express’s:idsyntax - Type Safety: Built with TypeScript first, providing better type inference out of the box
- Architecture: Clearer separation between server setup, routing, and middleware
vs Fastify
- Simplicity: Asimilation focuses on a minimal API surface with less configuration
- Learning Curve: Easier to get started with familiar patterns from Django/Flask
- Performance: Both are performant, but Fastify has more optimization for high-throughput scenarios
When to Use Asimilation
Core Concepts
Server Instance (asi)
The main server instance that handles setup and lifecycle:
URL Manager (url)
The routing manager for defining URL patterns and handlers:
Route Modules
Organize routes into namespaced modules:Next Steps
Quickstart
Get a server running in under 5 minutes
Installation
Detailed installation and setup guide
Routing
Learn about URL patterns and dynamic routes
Middleware
Add processing logic to your request pipeline

