🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis
Socket
Book a DemoInstallSign in
Socket

@azury/cheetah

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@azury/cheetah

🐈 A blazing fast framework for the modern web.

latest
Source
npmnpm
Version
0.3.0
Version published
Maintainers
1
Created
Source

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.

BenchmarkTime (avg)min ... maxp75p99p995p999
cheetah47.64 µs/run40 µs ... 1.62 ms42.9 µs144.7 µs185.8 µs899.3 µs
hono59.38 µs/run46.8 µs ... 1.73 ms54.6 µs128.9 µs209.8 µs1.31 ms
itty-router59.61 µs/run52.3 µs ... 1.85 ms56.4 µs91.5 µs106.3 µs1.37 ms
oak79.59 µs/run70.6 µs ... 1.09 ms74.4 µs181.4 µs254.4 µs850.4 µs
Benchmark: basic.ts — Runtime: Deno 1.32.5 (x86_64-pc-windows-msvc) — CPU: AMD Ryzen 9 5900X 12-Core

Sneak Peek

Deno

import cheetah from 'https://deno.land/x/cheetah@v0.3.0/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)

Node.js (Cloudflare Workers)

import cheetah from '@azury/cheetah'

const app = new cheetah()
  .get('/', () => 'Hello World')

export default app

Read our Guide to learn more.

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 ~14.5 kB.

FAQs

Package last updated on 25 Apr 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts