npm.io
0.4.890 • Published 22h ago

@webpieces/core-context

Licence
Apache-2.0
Version
0.4.890
Deps
4
Size
321 kB
Vulns
0
Weekly
0
Stars
4

@webpieces/core-context

AsyncLocalStorage-based context management for request-scoped data

Part of the WebPieces TypeScript framework.

Features

  • Request-scoped data storage using Node.js AsyncLocalStorage
  • Type-safe context management
  • Zero dependencies beyond Node.js built-ins
  • Simple, intuitive API

Installation

npm install @webpieces/core-context

Documentation

See the main WebPieces README for complete documentation and examples.

License

Apache-2.0

Keywords