UNPKG

contexta

Version:

A React-inspired Context API for Node.js with async/await support. Supported in nodejs, bun, and deno via async-local-storage.

7 lines (6 loc) 166 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = useContext; function useContext(context) { return context.get(); }