UNPKG

hono-http-context

Version:

The hono-http-context package is a lightweight and efficient library designed to provide context management for Hono.js applications, similar to how cls-hooked and express-http-context work for Node.js and Express applications. With hono-http-context, you

30 lines (29 loc) 1.15 kB
{ "name": "hono-http-context", "version": "1.3.1", "description": "The hono-http-context package is a lightweight and efficient library designed to provide context management for Hono.js applications, similar to how cls-hooked and express-http-context work for Node.js and Express applications. With hono-http-context, you can easily manage and share state across asynchronous operations within your Hono.js application, making it ideal for handling request-scoped data, user sessions, and more. This package ensures a seamless and straightforward way to propagate context throughout your app, improving code maintainability and simplifying complex workflows.", "main": "index.ts", "keywords": [ "honojs", "context management", "async context", "request context", "state management", "async operations", "cls-hooked", "express-http-context", "middleware", "context propagation", "nodejs", "server-side context" ], "author": "abdrr97", "license": "ISC", "dependencies": { "cls-hooked": "^4.2.2", "hono": "^4.4.4" }, "devDependencies": { "@types/cls-hooked": "~4.2.1" } }