jaguar
3.1.4, released 2 years ago by an unverified publisher
A production-ready HTTP server framework for Dart.
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.
91Compare - relic
Lightweight web server framework inspired by Shelf, with typed APIs and a high‑performance native Zig adapter.
91Compare - angel3_websocket
WebSockets support and event broadcasting for the Angel3 framework.
77Compare - dart_frog_web_socket
WebSocket support for the Dart Frog backend framework.
75Compare
Works with
Packages commonly used together with jaguar: ones it builds on, ones built on it, and its own family.
- cryptojaguar depends on itProvides SHA, MD5, and HMAC hashing functions for Dart.
- mimejaguar depends on itUtilities to resolve MIME types from file names, magic bytes, and to parse multipart streams.
- stack_tracejaguar depends on itProvides parsing, inspection, and readable formatting of Dart stack traces.
- loggingjaguar depends on itProvides configurable logging with levels and stream listeners for Dart apps.