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

x/lume/core/utils.ts

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

Variables

A list of the available optional plugins

Functions

Check the compatibility with the current Deno version

Check if the current version is outdated

Run a callback concurrently with all the elements of an Iterable

Convert an HTMLDocument instance to a string

Returns the _config file of a site

Return the hash of the latest commit from the GitHub repository

Return the latest stable version from the deno.land/x repository

Return the current installed version

Check if the content variable is a generator.

Check if the argument passed is a plain object

Merge two objects recursively. It's used to merge user options with default options.

Convert the Windows paths (that use the separator "") to Posix paths (with the separator "/") and ensure it starts with "/".

Detect and returns the Deno configuration

Resolve the path of an included file Used in the template engines and processors

Encode a message using SHA-1 algorithm

Parse a string with HTML code and return an HTMLDocument

Update the Deno configuration

Interfaces

Basic options for deno.json file

Import map file

Type Aliases

Helper to create optional properties recursively