PackagesApi Server AstroOverview

@quatrain/api-server-astro

📦 API Reference: Detailed TypeScript documentation, classes, interfaces, and methods are available in the TypeDoc API Reference for @quatrain/api-server-astro ↗.

Astro Adapter for the Quatrain API Server. It bridges the Quatrain API server interface with the web standard Request/Response API used natively by Astro endpoints.

Features

  • Standard Astro APIRoute compatibility: Easily host Quatrain API handlers inside Astro server routes.
  • Express-like Route Parsing: Supports catch-all routes and extracts route parameters dynamically.
  • Response Recording: Records Quatrain API responses and translates them to native Astro standard Responses.

Getting Started

Refer to HOWTO.md for integration details.

License

AGPL-3.0-only