Creating a Container

You can import and create a container like this:

import {Container} from 'esp-js-di';
const container = new Container();

Typically you’ll have 1 base container in your application. There internal shared state so that’s not a hard or fast rule.