Skip to main content
Generates a @Plugin class with optional context extension for adding properties like this.myFeature to all execution contexts.

Usage

Options

Generated Files

Generated Code

audit.plugin.ts

Context Extension (optional)

When --withContextExtension is used, a second file provides module augmentation and runtime prototype extension:
audit.context-extension.ts
This lets all tools use this.audit after the plugin is registered.