Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/lume/core/processors.ts>default

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
class default
import { default } from "https://deno.land/x/lume@v1.19.1/core/processors.ts";

Class to store and run the (pre)processors

Properties

processors: Map<Processor | MultiProcessor, ProcessorOptions>

Processors and the assigned extensions

Methods

run(pages: Page[]): Promise<void>

Apply the processors to the provided pages

set(
extensions: Extensions,
processor: Processor,
multiple: false,
): void

Assign a processor to some extensions

set(
extensions: Extensions,
processor: MultiProcessor,
multiple: true,
): void