All Projects → ruixiaozi → brisk-ioc

ruixiaozi / brisk-ioc

Licence: MIT License
fast light brisk ioc/di container on nodejs; Node下快速 轻量的IoC/DI容器,依赖注入,配合装饰器使用

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to brisk-ioc

Ioc
🦄 lightweight (<1kb) inversion of control javascript library for dependency injection written in typescript
Stars: ✭ 171 (+1325%)
Mutual labels:  lightweight, ioc, dependency-injection, ioc-container
Typhoon
Powerful dependency injection for Objective-C ✨✨ (https://PILGRIM.PH is the pure Swift successor to Typhoon!!)✨✨
Stars: ✭ 2,711 (+22491.67%)
Mutual labels:  ioc, dependency-injection, ioc-container
Container
A lightweight yet powerful IoC container for Go projects
Stars: ✭ 160 (+1233.33%)
Mutual labels:  ioc, dependency-injection, ioc-container
alpha-dic
Powerful dependency injection container for node.js
Stars: ✭ 27 (+125%)
Mutual labels:  ioc, dependency-injection, ioc-container
DependencyInjector
Lightweight dependency injector
Stars: ✭ 30 (+150%)
Mutual labels:  ioc, dependency-injection, ioc-container
Node Dependency Injection
The NodeDependencyInjection component allows you to standarize and centralize the way objects are constructed in your application.
Stars: ✭ 140 (+1066.67%)
Mutual labels:  ioc, dependency-injection, ioc-container
Minioc
Single-file minimal C# IoC container
Stars: ✭ 71 (+491.67%)
Mutual labels:  lightweight, ioc, ioc-container
Singularity
A extremely fast ioc container for high performance applications
Stars: ✭ 63 (+425%)
Mutual labels:  ioc, dependency-injection, ioc-container
iocgo
A lightweight Inversion of Control (IoC) (Dependency Injection) container for Golang
Stars: ✭ 36 (+200%)
Mutual labels:  ioc, dependency-injection, ioc-container
vesselize
⛵ A JavaScript IoC container that works seamlessly with Vue.js and React.
Stars: ✭ 22 (+83.33%)
Mutual labels:  ioc, dependency-injection, ioc-container
Reflex
Minimal dependency injection framework for Unity
Stars: ✭ 263 (+2091.67%)
Mutual labels:  ioc, dependency-injection, ioc-container
Disco
PSR-11 compatible Dependency Injection Container for PHP.
Stars: ✭ 135 (+1025%)
Mutual labels:  ioc, dependency-injection, ioc-container
React Ioc
Hierarchical Dependency Injection with new React 16 Context API
Stars: ✭ 133 (+1008.33%)
Mutual labels:  ioc, dependency-injection, ioc-container
ThunderboltIoc
One of the very first IoC frameworks for .Net that has no reflection. An IoC that casts its services before thunder casts its bolts.
Stars: ✭ 40 (+233.33%)
Mutual labels:  ioc, dependency-injection, ioc-container
Python Dependency Injector
Dependency injection framework for Python
Stars: ✭ 1,203 (+9925%)
Mutual labels:  ioc, dependency-injection, ioc-container
inject
[Archived] See https://github.com/goava/di.
Stars: ✭ 49 (+308.33%)
Mutual labels:  ioc, dependency-injection, ioc-container
Di
Dependency Injection and IoC framework for PHP
Stars: ✭ 5 (-58.33%)
Mutual labels:  ioc, dependency-injection, ioc-container
Poodinis
A dependency injection framework for D with support for autowiring.
Stars: ✭ 57 (+375%)
Mutual labels:  ioc, dependency-injection, ioc-container
ashley
Ashley is a dependency injection container for JavaScript.
Stars: ✭ 23 (+91.67%)
Mutual labels:  ioc, dependency-injection, ioc-container
SwiftInjection
Dependency Injection framework for Swift
Stars: ✭ 21 (+75%)
Mutual labels:  ioc, dependency-injection, ioc-container

BriskIoC 2

BriskIoC 2 is a fast, light-weight, brisk IoC/DI container to work in ts-node. It refers to the Spring framework and implements dependency injection through decorators and reflection.

BriskIoC 2是一个快速、轻量级、轻快的IoC/DI容器,可以在ts-node中工作。它参考了Spring框架,通过装饰器与反射实现依赖注入。

推荐(后台开发)搭配:

brisk-ioc + brisk-controller + brisk-orm

npm version

NPM

License

MIT License

Copyright (c) 2021 Ruixiaozi

Documentation

  1. Directory Structure

    src
     --- index.js
    tsconfig.json
    package.json
    

    参考Example

  2. Installation

    First install Node.js And ts-node

    And create file :tsconfig.json

    //tsconfig.json { "compilerOptions": { "emitDecoratorMetadata": true, "experimentalDecorators": true,

      "target": "es2019"
    

    } }

    
    Update the `package.json`
    
    

    ... "scripts": { "start": "ts-node src/index.ts" }, ...

    
    Then:
    
    

    $ npm install brisk-ioc

    
    
  3. Importing and Using ( Example ) 参考Example

Support

  • bluebird

Plugins

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].