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

x/postgres/tests/test_deps.ts

PostgreSQL driver for Deno
Go to Latest
import * as postgres from "https://deno.land/x/postgres@v0.17.2/tests/test_deps.ts";

Namespaces

Utilities for base64 encoding and decoding.

Port of the Go encoding/hex library.

Classes

c
BufReader
deprecated
c
BufWriter
deprecated

BufWriter implements buffering for an deno.Writer object. If an error occurs writing to a Writer, no more data will be accepted and all subsequent writes, and flush(), will return the error. After all data has been written, the client should call the flush() method to guarantee all data has been forwarded to the underlying deno.Writer.

Variables

An wrapper for WebCrypto adding support for additional non-standard algorithms, but delegating to the runtime WebCrypto implementation whenever possible.

Functions

Make an assertion, error will be thrown if expr does not have truthy value.

Make an assertion that actual and expected are equal, deeply. If not deeply equal, then throw.

Make an assertion that actual and expected are not equal, deeply. If not then throw.

Make an assertion that actual object is a subset of expected object, deeply. If not, then throw.

Executes a function which returns a promise, expecting it to reject.

Executes a function, expecting it to throw. If it does not, then it throws.

Decodes a base64-encoded string.

Converts data into a base64-encoded string.

Make the text bold.

Copy bytes from the src array to the dst array. Returns the number of bytes copied.

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.

Resolve a Promise after a given amount of milliseconds.

Takes an input date and a formatString to format to a string.

Converts a file URL to a path string.

Decodes the given hex-encoded string. If the input is malformed, an error is thrown.

Converts data into a hex-encoded string.

Verifies whether provided path is absolute

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

Takes an input string and a formatString to parse to a date.

Set text color to yellow.