04 Nov


Dependency Injection with JavaScript and Node

Node Malmö



Node is known for making it simple to build small usable tools and libraries that can easily be imported elsewhere. But if you want to go bigger and create a full application does this model still hold? Is it easy to construct all your internal modules if they have complex dependencies within your own application? And is it possible to test them all in isolation?

The answer is yes, and a very good way to solve this problem is to use dependency injection (DI). There are actually very many DI libraries in node and we will look at good and bad aspects of them. We will get an introduction to what DI actually is, the difference between module loading and DI will be explained and the presenter, Ludwig Magnusson, will also show a small DI library he wrote for node in roughly 100 lines of code.

Before the main presentation we will have a few short module presentations where attenders of Node Malmö will present modules available in npm that they like or have created themselves, encouraging the other participants to use them.


17:30 - 17:50 Micro presentations

17:50 - 18.30 Dependency injection

18:30 - Pizza and beer.

Tags dependency geek javascript node.js programming

Platinum Partners


Premium Partners

Verisure100 Netset100px Qlik100px Axis100px Neo4j 100px Mediaevolution100px Tretton37px100 Combitech100px Webstep100pxnew Playtechbgt100px Securelink100px Connectitude100px


Crosstech100px Empear100px Oneagency100px Tieto100pxnew Vergic100px Handelsbanken100px Lytics100px Softhouse100px Thirdbase100px Purplescout100px Apsis100px U blox100px 24hr100px Schneider100px Yrkesorange100px Oddhill100px Se 100px Hotnew100px Tedkomp100px Stratiteq100pxbl Hero gaming logo web partner 100 Seavus web partner 100 Frontiot100px Lundalogik100px Servicewell100px Ifacts logo partner 100px Resursbank 100px Falconio100px Pinmeto100px Additude100px Bimobject100px Stickybit100px Terranet100px Humanit100px Essiq100px
Sign in