Modules in Inversify.js
Main page
Modules in Inversify.js
📔

Modules in Inversify.js

It allow to decompose your bindings into separate modules that can be binded as one.

let warriors = new ContainerModule((bind) => {
    bind<Ninja>("Ninja").to(Ninja);
});

let weapons = new ContainerModule((bind) => {
        bind<Katana>("Katana").to(Katana);
        bind<Shuriken>("Shuriken").to(Shuriken);
});

let container = new Container();
container.load(warriors, weapons);

Found here

Wiki from official github