UNPKG

@nestjs-mod/common

Version:

A collection of utilities for unifying NestJS applications and modules

22 lines (18 loc) 529 B
Use with options. ```typescript import { bootstrapNestApplication, InfrastructureMarkdownReportGenerator } from '@nestjs-mod/common'; import { join } from 'path'; const appFolder = join(__dirname, '..', '..', '..', 'apps', 'example-basic'); bootstrapNestApplication({ modules: { infrastructure: [ InfrastructureMarkdownReportGenerator.forRoot({ staticConfiguration: { markdownFile: join(appFolder, 'INFRASTRUCTURE.MD'), skipEmptySettings: true, }, }), ], }, }); ```