Skip to content
pubscout

jaguar

3.1.4, released 2 years ago by an unverified publisher

A production-ready HTTP server framework for Dart.

$ flutter pub add jaguar
Source repository

What it does

Jaguar is an HTTP server framework for building backend services and APIs. It provides routing, path and query parameter parsing, request body decoding for JSON and forms, static file serving, and session management out of the box.

AI-written summary of version 3.1.4, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to build a custom HTTP server or REST API in Dart
  • You want easy out-of-the-box routing, query parameter casting, and session support

Skip it when

  • You are building a client-side Flutter application communicating with an API
  • You require complex microservice tooling not provided by basic HTTP servers

Strengths

  • Simple and intuitive API design
  • Built-in utilities for JSON, form parsing, sessions, and static files
  • Powerful route matching with path parameters and regex

Weaknesses

  • License is unknown
  • Topics not documented

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
11
main() async {
  final server = Jaguar();
  server.get('/hello', (Context ctx) => 'Hello world!');
  await server.serve();
}

Alternatives

Packages that do the same job and could replace jaguar.

  • http2

    An HTTP/2 implementation in Dart for low-level transport and pooled HTTP/2 requests.

  • relic

    Lightweight web server framework inspired by Shelf, with typed APIs and a high‑performance native Zig adapter.

  • angel3_websocket

    WebSockets support and event broadcasting for the Angel3 framework.

  • dart_frog_web_socket

    WebSocket support for the Dart Frog backend framework.

Works with

Packages commonly used together with jaguar: ones it builds on, ones built on it, and its own family.