The service provider that once registered on the container will set an instance of
HTMLGenerator as the htmlGenerator service. it will also hook itself to the
after-start event of the application in order to trigger the generator of the HTML
file.
Example: Basic usage
// Register it on the container container.register(htmlGeneratorProvider); // Getting access to the service instance consthtmlGenerator = container.get<HTMLGenerator>('htmlGenerator');
The service provider that once registered on the container will set an instance of HTMLGenerator as the
htmlGenerator
service. it will also hook itself to theafter-start
event of the application in order to trigger the generator of the HTML file.Example: Basic usage
Example: Using with custom options