Skip to main content
Module

x/lume/core.ts

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
import * as lume from "https://deno.land/x/lume@v1.18.1/core.ts";

Classes

Class to load components from the _components folder.

Class to load data files.

Class to manage the event listeners and dispatch events

Generic Exception to throw errors. It allows to include extra data.

Class to store loaders, engines and other stuff related with different formats

Virtual file system used to load and cache files (local and remote)

Class to output messages to the console. If quiet mode is enabled, no messages will be output.

A page of the site

Class to store and run the (pre)processors

The renderer is responsible for rendering the site pages in the right order and using the right template engine.

Define independent updates scopes This optimize the update process after any change

Script runner to store and run commands or execute functions It can execute the scripts and functions in parallel or sequentially

Search helper

This is the heart of Lume, it contains everything needed to build the site

Scan and load files from the source folder with the data, pages, assets and static files

Class to write the generated pages and static files in the dest folder.

Interfaces

Definition used to create a new Page

The options to configure the components

The data of a page

Basic options for deno.json file

The .dest property for a Page

An interface used by all template engines

Error payload interface

An event object

The available options for events

The options for a template helper

Import map file

Custom events for server

The options to configure the local server

The options to configure the site build

SourceMap with a property to store dynamic sources

The .src property for a Page or Directory

The options to configure the local watcher

Custom events for server

Type Aliases

The .content property for a Page

Helper to create optional properties recursively

Event listener

A generic helper to be used in template engines

A generic Lume plugin

The method that installs a plugin

A (pre)processor

A script or function

The available event types

Custom events for site build

The available event types

The available event types