import * as proc from "https://deno.land/x/proc@0.21.8/mod3.ts";
Classes
Enumerable wrapper for | |
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. | |
A wrapper for | |
Enumerable which may be substituted when we know we are returning | |
A generic process error. | |
Thrown because the process exited due to a signal. By default, this is thrown for any signal but may be overridden. | |
Thrown to indicate an error occurred upstream and is being passed forward. | |
Invert the normal data flow of an |
Variables
v DAYS | The number of milliseconds in a day. |
The number of milliseconds in an hour. | |
The number of milliseconds in a minute. | |
The number of milliseconds in a second. | |
The number of milliseconds in a week. |
Functions
Transformer that conditionally adds buffering to a | |
fetch and put in one step. | |
Fast-concatenate | |
Debug output using | |
Enumerable factory. | |
Fetch a record from KV. Use cache instead; exported for debugging. | |
Decompress a | |
Correct check to see if something is a string. | |
Convert JSON-encoded lines into objects. | |
Convert objects into JSON-encoded lines. | |
Lazily create a range of numbers. | |
f read | Open a file for reading. |
f run | Run a process. |
Perfect in-place array shuffle in linear time. | |
Sleep for a while. | |
Convert an | |
Converts specific types to | |
Convert an | |
Convert an | |
Convert a | |
Low level write without locking, writing in multiple chunks if needed. |
Interfaces
Options for Enumerable.concurrentMap and Enumerable.concurrentUnorderedMap. | |
Options passed to a process. | |
Command options. | |
Options for a | |
Options for an | |
Simplified writable. |
Type Aliases
Conditional type for Enumerable.chunkedLines. | |
T Cmd | The type signature for a command. |
Optionally change or suppress the error before it is thrown. Note that this will only
be called if either one or both of | |
Conditional type for Enumerable.lines. | |
Pipe kinds, matching | |
T Run | Conditional type for Enumerable.run. |
Optionally handle lines of stderr (passed as text lines), and also
optionally return a value that is passed to your custom | |
Type signature of a transformer. | |
Conditional type for Enumerable.unzip. |