Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/drollup/plugins/yaml/types.d.ts>RollupYamlOptions

Next-generation ES module bundler ported for Deno
Latest
interface RollupYamlOptions
import { type RollupYamlOptions } from "https://deno.land/x/drollup@2.58.0%2B0.20.0/plugins/yaml/types.d.ts";

Properties

optional
documentMode: string

If single, specifies that the target YAML documents contain only one document in the target file(s). If more than one document stream exists in the target YAML file(s), set documentMode: 'multi'.

optional
include: FilterPattern

All YAML files will be parsed by default, but you can also specifically include files

optional
exclude: FilterPattern

All YAML files will be parsed by default, but you can also specifically exclude files

optional
safe: boolean

If true, specifies that the data in the target YAML file(s) contain trusted data and should be loaded normally. If false, data is assumed to be untrusted and will be loaded using safety methods.

optional
transform: TransformHook

A function which can optionally mutate parsed YAML. The function should return the mutated object, or undefined which will make no changes to the parsed YAML.