@ -1,5 +1,4 @@
import { MongoClient, ObjectId, BSON, BSONType, Decimal128, Binary } from 'mongodb';
import { MongoClient, ObjectId, BSON, BSONType, Decimal128, Binary } from 'npm:mongodb';
import { compile } from 'json-schema-to-typescript';
interface Schema {
[key: string]: {
@ -17,7 +16,7 @@ interface MongoTypeMap {
Decimal128: number;
Object: object;
Array: any[];
Binary: Buffer;
Binary: Uint8Array;
Timestamp: Date;
Date: Date;
ObjectId: string;