Files
SnowLuma/.pnpm-store/v11/files/15/c9ce8fb550592edd9af66b9ce81bed3196ac5278e679e8b6abf20a49e31aa4d6710d21a6c34f5d5194cd8bd04a0bd6164b65643fb53dffb0b9b6e40471a1f2
T
TanTan 2a69b23b47
Dev Build / cleanup (push) Waiting to run
Dev Build / typecheck (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:27:07 +08:00

12 lines
367 B
Plaintext

//#region src/adapter/bun/server.ts
/**
* Get Bun Server Object from Context
* @template T - The type of Bun Server
* @param c Context
* @returns Bun Server
* @deprecated `hono/bun` will be removed in v5. Install `@hono/bun` and import from there instead.
*/
const getBunServer = (c) => "server" in c.env ? c.env.server : c.env;
//#endregion
export { getBunServer };