NpmPruneSettingsExtensions.

Json(NpmPruneSettings, bool) Method

Summary

If true, the changes npm prune made (or would have made with DryRun) are printed as a JSON object.
Assembly
Cake.Npm.dll
Namespace
Cake.Npm.Prune
Containing Type
NpmPruneSettingsExtensions

Syntax

public static NpmPruneSettings Json(this NpmPruneSettings settings, bool json)

Parameters

Name Type Description
settings NpmPruneSettings The settings.
json bool Whether or not to print json.

Return Value

Type Description
NpmPruneSettings The settings instance with Json set to json.