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

x/wmill/deps.ts

Open-source developer platform to turn scripts into workflows and UIs. Fastest workflow engine (5x vs Airflow). Open-source alternative to Airplane and Retool.
Go to Latest
import * as wmill from "https://deno.land/x/wmill@v1.320.3/deps.ts";

Namespaces

Logging library with the support for terminal and file outputs. Also provides interfaces for building custom loggers.

Utilities for working with OS-specific file paths.

Classes

A class which registers middleware (via .use()) and then processes inbound requests against that middleware (via .listen()).

Chainable command factory class.

Generates shell completion scripts for various shells.

Confirm prompt representation.

Divide a stream into chunks delimited by a given byte sequence.

Input prompt representation.

An object that encapsulates provided message and arguments as well some metadata that can be later used when formatting a message.

JS Implementation of incremental MurmurHash3 (r150) (as of May 10, 2013)

An interface for registering middleware that will run when certain HTTP methods and paths are requested, as well as provides a way to parameterize parts of the requested path.

Secret prompt representation.

Select prompt representation.

Table representation.

Enums

Get log level numeric values through enum constants. Defaults to INFO.

Variables

Chainable colors module.

Handlers are responsible for actual output of log messages. When a handler is called by a logger, it firstly checks that LogRecord's level is not lower than level of the handler. If level check passes, handlers formats log record into string and outputs it to target.

v
path.posix
deprecated
v
path.win32
deprecated

Functions

Given an Iterable/Iterator input which yields buffers, returns an IterableIterator which yields sync decoded objects Or, given an Async Iterable/Iterator which yields promises resolving in buffers, returns an AsyncIterableIterator.

Given an Iterable first argument, returns an Iterable where each value is encoded as a Buffer If the argument is only Async Iterable, the return value will be an Async Iterable.

f
copy
deprecated

Returns the user and platform specific directories.

Encodes the source into hex string.

Ensures that the directory exists. If the directory structure does not exist, it is created. Like mkdir -p. Requires the --allow-read and --allow-write flag.

Finds a free port based on the options Requires --allow-net flag

f
iterateReader
deprecated

Log with critical level, using default logger.

Log with debug level, using default logger.

Log with error level, using default logger.

Get a logger instance. If not specified name, get the default logger.

Log with info level, using default logger.

Setup logger config.

Log with warning level, using default logger.

Generate random Password of a specified length, based on the given pattern.

Return the last portion of a path. Trailing directory separators are ignored, and optional suffix is removed.

Determines the common path from a set of paths, using an optional separator, which defaults to the OS default separator.

Return the directory path of a path.

Return the extension of the path with leading period.

Generate a path from FormatInputPathObject object.

Converts a file URL to a path string.

Convert a glob string to a regular expression.

Verifies whether provided path is absolute

Test whether the given string is a glob

Join all given a sequence of paths,then normalizes the resulting path.

Like join(), but doesn't collapse "**/.." when globstar is true.

Normalize the path, resolving '..' and '.' segments. Note that resolving these segments does not necessarily mean that all will be eliminated. A '..' at the top-level will be preserved, and an empty path is canonically '.'.

Like normalize(), but doesn't collapse "**/.." when globstar is true.

Return a ParsedPath object of the path.

Return the relative path from from to to based on current working directory.

Resolves path segments into a path

Converts a path string to a file URL.

Resolves path to a namespace path

f
readAll
deprecated
f
writeAllSync
deprecated

Parses content as single YAML document.

Serializes object as a YAML document.

Interfaces

A parsed path object generated by path.parse() or consumed by path.format().