Core Concept
Zero-Latency Normalization
Meridian removes the need for "glue code" by enforcing a strict schema on API inputs/outputs.
The Problem
API A returns { user_id }, API B returns { id }. This fragmentation breaks apps.
The Solution
Meridian standardizes these into a single, predictable interface with consistent type safety.
Code Comparison
normalization_demo.ts
// Without Meridian
const userA = await apiA.fetchUser(); // { user_id: "123" }
const userB = await apiB.fetchUser(); // { id: "456" }
// With Meridian
const userA = await meridian.users.get("123"); // { id: "123" }
const userB = await meridian.users.get("456"); // { id: "456" }