Skip to main content
Latest
import * as exodus from "https://deno.land/x/exodus@0.1.8/deps.ts";

Namespaces

EJSON parse / stringify API

Classes

A class representation of the BSON Binary type.

A class representation of the BSON RegExp type.

A class representation of the BSON Symbol type.

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 ObjectId type.

Table representation.

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.

Calculate the bson size for a passed in Javascript object.

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.

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.

Copy a file or directory. The directory can have contents. Like cp -r. Requires the --allow-read and --allow-write flag.

Copy a file or directory. The directory can have contents. Like cp -r. Requires the --allow-read and --allow-write flag.

Ensures that the directory exists. If the directory structure does not exist, it is created. Like mkdir -p. Requires the --allow-read and --allow-write flag.

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

Format date using format string