{"library":"appolo-context","type":"library","category":null,"description":"A lightweight library for managing async context in Node.js using the experimental async_hooks API. It provides a namespace-based approach to create, get, and delete contexts, as well as a default context for simpler use cases. Key features include scope-based execution, get/set value storage, and explicit enable/destroy lifecycle control. Current stable version is 6.0.9, released under MIT license. Release cadence is sporadic, with major version bumps often indicating breaking changes. Differentiators from similar packages (e.g., cls-hooked, async_hooks) include a simpler API with namespaces and direct context.get/set methods, but note reliance on the experimental async_hooks API which may change in future Node.js versions.","language":"javascript","status":"active","version":"6.0.9","tags":["javascript","context","async","hooks","async_hooks"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install appolo-context","imports":["import { namespace } from 'appolo-context'","import { context } from 'appolo-context'","import { Context } from 'appolo-context'"]},{"cmd":"yarn add appolo-context","imports":[]},{"cmd":"pnpm add appolo-context","imports":[]}],"homepage":"https://github.com/shmoop207/appolo-context#readme","github":"https://github.com/shmoop207/appolo-context","docs":null,"changelog":null,"pypi":null,"npm":"appolo-context","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}