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.253.0/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.

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.

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.

Copies from src to dst until either EOF (null) is read from src or an error occurs. It resolves to the number of bytes copied or rejects with the first error encountered while copying.

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

Turns a Reader, r, into an async iterator.

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.

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

Convert a glob string to a regular expression.

Test whether the given string is a glob

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

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

Read Reader r until EOF (null) and resolve to the content as Uint8Array`.

Create a Reader from a ReadableStreamDefaultReader.

Synchronously write all the content of the array buffer (arr) to the writer (w).

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().

Type Aliases

Union of valid log level strings