UNPKG

di-scoped

Version:

A context-based instantiation system using `async_hooks`, ensuring each class instance is scoped to a unique execution context, with automatic creation and reuse of different instances using the same reference across multiple contexts.

59 lines (58 loc) 1.65 kB
{ "name": "di-scoped", "version": "1.0.20", "description": "A context-based instantiation system using `async_hooks`, ensuring each class instance is scoped to a unique execution context, with automatic creation and reuse of different instances using the same reference across multiple contexts.", "author": { "name": "Petr Tripolsky", "email": "tripolskypetr@gmail.com", "url": "https://github.com/tripolskypetr" }, "funding": { "type": "individual", "url": "http://paypal.me/tripolskypetr" }, "license": "MIT", "homepage": "https://react-declarative-playground.github.io", "keywords": [ "react-declarative", "dependency-injection", "nodejs", "scoped" ], "files": [ "build", "types.d.ts", "README.md" ], "repository": { "type": "git", "url": "https://github.com/react-declarative/react-declarative", "documentation": "https://github.com/react-declarative/react-declarative/tree/master/docs" }, "bugs": { "url": "https://github.com/react-declarative/react-declarative/issues" }, "scripts": { "build": "rollup -c" }, "main": "build/index.cjs", "module": "build/index.mjs", "source": "src/index.ts", "types": "./types.d.ts", "exports": { "require": "./build/index.cjs", "types": "./types.d.ts", "import": "./build/index.mjs", "default": "./build/index.cjs" }, "devDependencies": { "@rollup/plugin-typescript": "11.1.6", "rollup": "3.29.4", "rollup-plugin-dts": "6.1.1", "rollup-plugin-peer-deps-external": "2.2.4", "tslib": "2.7.0" }, "peerDependencies": { "typescript": "^5.0.0" } }