@tomsd/mongodbatlas

It's a library for MongoDB Atlas.

npm NPM

ci checks top language Maintenance depends on node greater or equal 18

installation

npm install @tomsd/mongodbatlas

usage

import MongoDbAtlas class.

import { MongoDbAtlas } from "@tomsd/mongodbatlas";

create instance.

// initialize with your public key and private key
const mongoDbAtlas = new MongoDbAtlas(publicKey, privateKey);

and then, use some.

await mongoDbAtlas.projects.getAll();