UNPKG

@jems/di

Version:

An implementation of IoC pattern based on dependency injection that allows you to granulate and decouple your libraries or applications. Wrote using SOLID principles and a variety OOP patterns implementations.

21 lines (20 loc) 644 B
"use strict"; function __export(m) { for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; } Object.defineProperty(exports, "__esModule", { value: true }); var buildInKernel_1 = require("./buildInKernel"); /** * Creates and returns a new kernel instance. */ function createKernel() { return new buildInKernel_1.BuildInKernel(); } exports.createKernel = createKernel; // Exporting accessible build-in clasess. __export(require("./resolutionOption")); __export(require("./resolutionContext")); __export(require("./dependencyMetadata")); // Exporting Errors var errors = require("./errors/index"); exports.Errors = errors;