{"library":"node-context-storage","type":"library","category":null,"description":"A lightweight utility for managing asynchronous context in Node.js using AsyncLocalStorage. v1.0.4 provides a simple API to create, get, set, and run context across async boundaries, with built-in Express middleware for request-level context. Unlike heavy solutions like continuation-local-storage or cls-hooked, it leverages Node's native AsyncLocalStorage for performance and reliability. Ships TypeScript definitions. Updated infrequently (last release Nov 2023).","language":"javascript","status":"active","version":"1.0.4","tags":["javascript","node","context","storage","express","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install node-context-storage","imports":["import { createContext } from 'node-context-storage'","import { createContextMiddleware } from 'node-context-storage'","import type { ContextAPI } from 'node-context-storage'"]},{"cmd":"yarn add node-context-storage","imports":[]},{"cmd":"pnpm add node-context-storage","imports":[]}],"homepage":"https://github.com/paripsky/node-context-storage#readme","github":"https://github.com/paripsky/node-context-storage","docs":null,"changelog":null,"pypi":null,"npm":"node-context-storage","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}