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

x/lume/core/data_loader.ts>default

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

Class to load data files.

Constructors

new
default(options: Options)

Properties

formats: Formats

List of extensions to load data files and the loader used

Methods

load(entry: Entry): Promise<Data | undefined>
loadEntry(entry: Entry, data: Data)

Load a data entry inside a _data directory and append the data to the data object