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

x/aether/deps.ts

A Deno library to interface with the Discord API
Latest
import * as aether from "https://deno.land/x/aether@v0.0.3/deps.ts";

Classes

A class representation of the BSON RegExp type.

A class representation of the BSON Symbol type.

BufReader implements buffering for a Reader object.

A class representation of the BSON Code type.

A class representation of the BSON DBRef type.

A class representation of the BSON Decimal128 type.

A class representation of the BSON Double type.

A class representation of a BSON Int32 type.

A class representing a 64-bit integer

A class representation of the BSON MaxKey type.

A class representation of the BSON MinKey type.

A class representation of the BSON ObjectId type.

A class representation of the BSON UUID type.

A class representation of the BSON RegExp type.

A class representation of the BSON Symbol type.

Clients allow you to communicate with your PostgreSQL database and execute SQL statements asynchronously

A class representation of the BSON Code type.

A class representation of the BSON DBRef type.

A class representation of the BSON Decimal128 type.

A class representation of the BSON Double type.

A class representation of a BSON Int32 type.

A class representing a 64-bit integer

A class representation of the BSON MaxKey type.

A class representation of the BSON MinKey type.

A class representation of the BSON ObjectId type.

Connection pools are a powerful resource to execute parallel queries and save up time in connection initialization. It is highly recommended that all applications that require concurrent access use a pool to communicate with their PostgreSQL database

c
QueryClient
abstract

A class representation of the BSON UUID type.

Compose a stream of CST nodes into a stream of YAML Documents.

Splits an input string into lexical tokens, i.e. smaller strings that are easily identifiable by tokens.tokenType().

Tracks newlines during parsing in order to provide an efficient API for determining the one-indexed { line, col } position for any offset within the input.

A YAML concrete syntax tree (CST) parser

Variables

Binary Default Type @internal

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

Any integer up to 2^53 can be precisely represented by a double.

Any integer down to -2^53 can be precisely represented by a double.

The byte order mark

Start of doc-mode

Unexpected end of flow-mode

Next token is a scalar value

Stringify a CST document, token, or collection item

Functions

Decodes a given RFC4648 base64 encoded string

CREDIT: https://gist.github.com/enepomnyaschih/72c423f727d395eeaa09697058238727 Encodes a given Uint8Array, ArrayBuffer or string into RFC4648 base64 representation

Calculate the bson size for a passed in Javascript object.

Creates a Promise with the reject and resolve functions placed as methods on the promise object itself. It allows you to do:

Deserialize data as BSON.

Deserialize stream data as BSON documents.

Deserializes an Extended JSON object into a plain JavaScript object with native/BSON types

Parse an Extended JSON string, constructing the JavaScript value or object described by that string.

Serializes an object to an Extended JSON string, and reparse it as a JavaScript object.

Converts a BSON document to an Extended JSON string, optionally replacing values if a replacer function is specified or optionally including only the specified properties if a replacer array is specified.

Decodes src into src.length / 2 bytes. If the input is malformed, an error will be thrown.

Encodes src into src.length * 2 bytes.

Serialize a Javascript object.

Serialize a Javascript object using a predefined Buffer and index into the buffer, useful when pre-allocating the space for serialization.

Sets the size of the internal serialization buffer.

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

Create a new scalar token with value

Get a printable representation of a lexer token

If token is a CST flow or block scalar, determine its string value and a few other attributes. Otherwise, return null.

Set the value of token to the given string value, overwriting any previous contents and type that it may have.

Identify the type of a lexer token. May return null for unknown tokens.

Apply a visitor to a CST document or item.

Parse the input as a stream of YAML documents.

Parse an input string into a single YAML.Document

Stringify a value as a YAML document.

Apply a visitor to an AST node or document.

Apply an async visitor to an AST node or document.

Interfaces

EJSON parse / stringify API

The document returned by the buildInfo command.

Options for controlling the collation of strings in a query

Options for the findAndModify operation

Type Aliases

The connection string must match the following URI structure. All parameters but database and user are optional

The global TextDecoder

The global TextEncoder