Skip to main content
Home
This release is 7 versions behind 4.7.7 — the latest version of @hono/hono. Jump to latest

@hono/hono@4.6.20
Built and signed on GitHub Actions

Web framework built on Web Standards

This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
76%
Published
3 months ago (4.6.20)
type alias HonoOptions

Type Parameters

E extends Env

Properties

optional
strict: boolean

strict option specifies whether to distinguish whether the last path is a directory or not.

router option specifies which router to use.

optional
getPath: GetPath<E>

getPath can handle the host header value.

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@hono/hono

Import symbol

import { type HonoOptions } from "@hono/hono/hono-base";
or

Import directly with a jsr specifier

import { type HonoOptions } from "jsr:@hono/hono/hono-base";

Add Package

pnpm i jsr:@hono/hono
or (using pnpm 10.8 or older)
pnpm dlx jsr add @hono/hono

Import symbol

import { type HonoOptions } from "@hono/hono/hono-base";

Add Package

yarn add jsr:@hono/hono
or (using Yarn 4.8 or older)
yarn dlx jsr add @hono/hono

Import symbol

import { type HonoOptions } from "@hono/hono/hono-base";

Add Package

npx jsr add @hono/hono

Import symbol

import { type HonoOptions } from "@hono/hono/hono-base";

Add Package

bunx jsr add @hono/hono

Import symbol

import { type HonoOptions } from "@hono/hono/hono-base";