default
Run child processes and work with async iterables in Deno—with the fluent Array API you already know.
Transformer that conditionally adds buffering to a Uint8Array stream.
Conditional type for Enumerable.toStdout.
Fetch and cache expensive computations using Deno KV.
Conditional type for Enumerable.chunkedLines.
Command signature: program name/path followed by arguments.
Fast-concatenate Uint8Array arrays into a single array.
Fast-concatenate Uint8Arrays arrays together, adding a trailing line feed,
returning a single array containing the result.
Options for Enumerable.concurrentMap and Enumerable.concurrentUnorderedMap.
The number of milliseconds in a day.
Debug output using console.dir through Enumerable#transform.
Create an Enumerable from any iterable or async iterable.
Optionally change or suppress the error before it is thrown. Note that this will only
be called if either one or both of error and stderrData is defined (non-null).
Thrown because the process returned an exit code that indicates an error occurred. By default, this indicates a non-zero exit code but may be overridden.
Fetch a record from KV. Use cache instead; exported for debugging.
Decompress gzip-compressed data.
Compress data using gzip.
The number of milliseconds in an hour.
Type guard to check if a value is a string.
Parse JSON-encoded strings into objects.
Convert objects to JSON-encoded strings (one per line).
Conditional type for Enumerable.lines.
The number of milliseconds in a minute.
Pipe kinds, matching Deno.Command.
Enumerable for process output with additional process-specific properties.
A generic process error.
Lazily generate a range of numbers as an AsyncIterable.
Open a file for reading as an AsyncIterable of byte chunks.
Conditional type for Enumerable.run.
Run a child process with a fluent, composable API.
The number of milliseconds in a second.
Performs an in-place shuffle of an array in linear time.
Thrown because the process exited due to a signal. By default, this is thrown for any signal but may be overridden.
The sleep function is used to pause the execution of the program for a specified amount of
time. It returns a Promise that resolves after a set number of milliseconds, effectively causing a
delay in the execution of the subsequent code.
Standard data, either string, arrays of strings (lines), byte data, or arrays of byte data.
Optionally handle lines of stderr (passed as text lines), and also
optionally return a value that is passed to your custom ErrorHandler. You are
not allowed to throw an error from this function. If you wish to throw an error
based on stderr data, the ErrorHandler function is where you do that.
For transformers that need BufferSource as input, this will convert
the type of the output; otherwise identical to toBytes.
Convert an AsyncIterable<Uint8Array> into an AsyncIterable<Uint8Array[]>
(an array of lines chunked together based on buffer size)
split on lf and also suppressing trailing cr.
Convert strings, string arrays, or byte arrays to Uint8Array chunks.
Convert an AsyncIterable<Uint8Array> into an AsyncIterable<string[]> of lines.
Convert an AsyncIterable<Uint8Array> into an AsyncIterable<string> of lines.
Convert a TransformStream into a TransformerFunction. Errors occurring upstream
are correctly propagated through the transformation.
Type signature of a transformer.
Type alias for TransformStream used in Enumerable.transform.
Conditional type for Enumerable.unzip.
Thrown to indicate an error occurred upstream and is being passed forward.
The number of milliseconds in a week.
Invert data flow: push writes on one side, iterate on the other.
Low level write without locking, writing in multiple chunks if needed.