nodejs 一些不错的ioc 框架

nodejs 周边一些ioc 框架还是不少的,以下整理一些,而且不少有以前简单介绍过

说明

目前InversifyJS,awilix还不错基本都还在维护以及迭代中,typedi 以及tsyringe 似乎缺少维护了
injex 属于一个比较新的ioc 项目,目前看使用还是比较简洁的,比较类似java 的guice 框架,实际
上ioc 框架特别多,不少nodejs 项目框架中也会带有一些类似的能力,早期大家经常使用的amd,udm
cmd 等模块加载的包也是具有一些简单的模块管理能力的

参考资料

https://github.com/jeffijoe/awilix
https://github.com/inversify/InversifyJS
https://github.com/typestack/typedi
https://github.com/uditalias/injex
https://github.com/microsoft/tsyringe

posted on   荣锋亮  阅读(167)  评论(0编辑  收藏  举报

相关博文:
阅读排行:
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· 记一次.NET内存居高不下排查解决与启示
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· .NET10 - 预览版1新功能体验(一)
历史上的今天:
2022-11-10 go workspace 试用
2019-11-10 plv8 触发器使用
2019-11-10 plv8 + hashids 生成短连接id
2019-11-10 Generating YouTube-like IDs in Postgres using PL/V8 and Hashids
2019-11-10 使用plv8+hashids生成短链接服务
2019-11-10 使用plv8+ shortid npm包构建一个短唯一id服务
2019-11-10 通过ALTER DATABASE postgres SET 解决 plv8 plv8.start_proc 问题

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示