Skip to main content

@hono/hono@4.7.1
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
a day ago (4.7.1)

Classes

c
WSContext

A context for controlling WebSockets

Functions

f
createWSMessageEvent
No documentation available
f
defineWebSocketHelper

Create a WebSocket adapter/helper

Interfaces

I
SendOptions

Options for sending message

I
WebSocketHelperDefineContext
No documentation available
I
WSContextInit

An argument for WSContext class

I
WSEvents

WebSocket Event Listeners type

Type Aliases

T
UpgradeWebSocket

Upgrade WebSocket Type

T
WebSocketHelperDefineHandler
No documentation available
T
WSMessageReceive
No documentation available
T
WSReadyState

ReadyState for WebSocket

Add Package

deno add jsr:@hono/hono

Import symbol

import * as WebSocket_Helper_for_Hono_ from "@hono/hono/ws";

---- OR ----

Import directly with a jsr specifier

import * as WebSocket_Helper_for_Hono_ from "jsr:@hono/hono/ws";

Add Package

npx jsr add @hono/hono

Import symbol

import * as WebSocket_Helper_for_Hono_ from "@hono/hono/ws";

Add Package

yarn dlx jsr add @hono/hono

Import symbol

import * as WebSocket_Helper_for_Hono_ from "@hono/hono/ws";

Add Package

pnpm dlx jsr add @hono/hono

Import symbol

import * as WebSocket_Helper_for_Hono_ from "@hono/hono/ws";

Add Package

bunx jsr add @hono/hono

Import symbol

import * as WebSocket_Helper_for_Hono_ from "@hono/hono/ws";