class PluginTransformationWrapper
extends Transformation

Creates a transformation wrapper from a plugin transformation

Constructors

new
PluginTransformationWrapper(
logger?: ILogger,
)

Creates a new PluginTransformationWrapper

Properties

readonly
name: string

Human-readable name of the transformation

The transformation type identifier

private
readonly
plugin: TransformationPlugin

Methods

execute(
rules: readonly string[],
): Promise<readonly string[]>

Executes the plugin transformation

Usage

import { PluginTransformationWrapper } from ".";