Attributes
Includes Deno configuration
Repository
Current version released
a year ago
Dependencies
deno.land/x
jsdeliver.net
@sinclair/typebox@0.28.16@cloudflare/workers-types@4.20230518.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 | 61.02 µs/run | 48 µs … 2.41 ms | 53.2 µs | 175.6 µs | 522.3 µs | 1.17 ms |
hono | 72.26 µs/run | 50.1 µs … 2.36 ms | 68.5 µs | 216.5 µs | 810.6 µs | 1.17 ms |
itty-router | 70.88 µs/run | 58.2 µs … 2.27 ms | 64.8 µs | 197.7 µs | 286.2 µs | 1.33 ms |
oak | 96.5 µs/run | 70.1 µs … 3.67 ms | 82.2 µs | 521.4 µs | 737.7 µs | 1.16 ms |
Sneak Peek
import cheetah from 'https://deno.land/x/cheetah@v0.12.1/mod.ts'
import { serve } from 'https://deno.land/std@0.192.0/http/server.ts'
const app = new cheetah()
.get('/', () => 'Hello World')
serve(app.fetch)
NEW: Check out our new guide at cheetah.mod.land
Why cheetah?
- 🪖
secure
- cheetah ensures that parsing doesn’t cause your app to freeze. - 🧙♂️
schema validation
- out-of-the-box support for schema validation via TypeBox or Zod. - 💎
simple
- built-in support for CORS, caching, schema validation, debugging and more! - 🪹
chaining & nesting
- cheetah doesn’t dictate you how to write your app. - 🪶
light
- all core functionality in ~11 KB.