indexMungOptions
interface MungOptions
import { type MungOptions } from ".";

Properties

fn: (x: string) => string

Apply this function to the content before writing it

each: string

Run for each matching element of selector

from: string

Get the content of this selector

to: string

Write the content to this selector

optional
overwrite: boolean

Overwrite existing content if to selector is populated

optional
skip: Pick<RegExp, Symbol.matchAll>

Skip content matching this regular expression or matcher (write matched content as-is)