import { Bson } from "https://deno.land/x/denodb@v1.1.0/deps.ts";
const { calculateObjectSize } = Bson;
Calculate the bson size for a passed in Javascript object.
Parameters
object: Document
- the Javascript object to calculate the BSON byte size for
optional
options: CalculateObjectSizeOptions