new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

Hono · all subjects

runtime

10 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

HEAD handling consistent across all Hono runtimes

Automatic HEAD conversion to GET is consistent across all Hono runtimes including Cloudflare Workers, Deno, Bun, and Node.js.

Deno middleware version compatibility warning

In Deno, it is possible to use a different version of middleware than the Hono version, but this can lead to bugs. For example, using import { Hono } from 'jsr:@hono/hono@4.4.0' and import { upgradeWebSocket } from 'jsr:@hono/hono@4.4.5/deno' will not work because the versions are different.

ConnInfo import for Deno

Import getConnInfo from 'hono/deno'.

ConnInfo import for Bun

Import getConnInfo from 'hono/bun'.

ConnInfo import for AWS Lambda

Import getConnInfo from 'hono/aws-lambda'.

ConnInfo import for Netlify

Import getConnInfo from 'hono/netlify'.

ConnInfo import for Lambda@Edge

Import getConnInfo from 'hono/lambda-edge'.

ConnInfo import for Node.js

Import getConnInfo from '@hono/node-server/conninfo'.

Hono runtime support

Hono works on any JavaScript runtime: Cloudflare Workers, Fastly Compute, Deno, Bun, Vercel, Netlify, AWS Lambda, Lambda@Edge, and Node.js.

Request ID Middleware Node.js compatibility

The requestId middleware uses crypto.randomUUID() which requires Node.js version 20 or later. For earlier versions, specify a custom generator function. The Node.js adapter automatically sets crypto globally, so no additional configuration is needed when using that adapter.

Give your agent this brain