Skip to main content
Module

x/pup/deps.ts

Universal process manager built in Deno
Go to Latest
import * as pup from "https://deno.land/x/pup@1.0.0-beta.9/deps.ts";

Namespaces

N
jsonc
deprecated

Utilities for working with OS-specific file paths.

N
z

Variables

Functions

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.

Cron entrypoint

Creates a Promise with the reject and resolve functions placed as methods on the promise object itself.

Resolve a Promise after a given amount of milliseconds.

f
existsSync
deprecated

Test whether or not the given path exists by checking with the file system.

Convert a glob string to a regular expression.

Converts a JSON with Comments (JSONC) string into an object. If a syntax error is found, throw a SyntaxError.

Take a set of command line arguments, optionally with a set of options, and return an object representing the flags found in the passed arguments.

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 strings line-by-line from a Reader.

Remove ANSI escape codes from the string.

Interfaces

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

Type Aliases

The value returned from parse.

Valid types as a result of JSON parsing