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

x/web_bson/mod.d.ts

web_bson is a fork from mongodb/js-bson
Very Popular
Latest
import * as webBson from "https://deno.land/x/web_bson@v0.3.0/mod.d.ts";

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.

c
BSONValue
abstract

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.

Functions

Calculate the bson size for a passed in Javascript object.

Deserialize data as BSON.

Deserialize stream data as BSON documents.

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.