Attributes
Includes Deno configuration
Repository
Current version released
2 years ago
Dependencies
deno.land/x
esm.sh
jsdeliver.net
@medley/router@0.2.1@sinclair/typebox@0.28.4@cloudflare/workers-types@4.20230404.0
std
Versions
- v1.5.2Latest
- v1.5.1
- v1.5.0
- v1.5.0-canary.1
- v1.5.0-canary.0
- v1.4.0
- v1.4.0-canary.3
- v1.4.0-canary.2
- v1.4.0-canary.1
- v1.4.0-canary.0
- v1.3.1
- v1.3.0
- v1.2.0
- v1.1.0
- v1.0.2
- v1.0.1
- v1.0.0
- v1.0.0-canary.1
- v1.0.0-canary.0
- v0.13.0
- v0.12.0
- v0.11.0
- v0.10.0
- v0.9.0
- v0.8.0
- v0.7.2
- v0.7.1
- v0.7.0
- v0.6.1
- v0.6.0
- v0.5.0
- v0.4.1
- v0.4.0
- v0.3.5
- v0.3.4
- v0.3.3
- v0.3.2
- v0.3.1
- v0.3.0
- v0.2.3
- v0.2.2
- v0.2.1
- v0.2.0
- v0.1.1
- v0.1.0
- v0.0.1
cheetah
cheetah is ~30% faster than hono, which is supposed to be the fastest JavaScript framework, and ~70% faster than oak, the Express.js of Deno.
Benchmark | Time (avg) | min … max | p75 | p99 | p995 | p999 |
---|---|---|---|---|---|---|
cheetah | 47.64 µs/run | 40 µs … 1.62 ms | 42.9 µs | 144.7 µs | 185.8 µs | 899.3 µs |
hono | 59.38 µs/run | 46.8 µs … 1.73 ms | 54.6 µs | 128.9 µs | 209.8 µs | 1.31 ms |
itty-router | 59.61 µs/run | 52.3 µs … 1.85 ms | 56.4 µs | 91.5 µs | 106.3 µs | 1.37 ms |
oak | 79.59 µs/run | 70.6 µs … 1.09 ms | 74.4 µs | 181.4 µs | 254.4 µs | 850.4 µs |
basic.ts — Runtime: Deno 1.32.5 (x86_64-pc-windows-msvc) — CPU: AMD Ryzen 9 5900X 12-Core
Benchmark:Sneak Peek
import cheetah from 'https://deno.land/x/cheetah@v0.2.2/mod.ts'
import { serve } from 'https://deno.land/std@v0.184.0/http/server.ts'
const app = new cheetah()
.get('/', () => 'Hello World')
serve(app.fetch)
Read our Guide to learn more.
Why cheetah?
- 🔗 Chained Routes
- 🧙♂️ Schema Validation
- 🛡️ Top-Notch Security
- 🪹 Nested Routes