Skip to main content
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.13.1/core/processors.ts";

Class to store and run the (pre)processors

Properties

processors: Map<Processor, string[] | "*">

Processors and the assigned extensions

Methods

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

Apply the processors to the provided pages

set(extensions: string[] | "*", processor: Processor)

Assign a processor to some extensions