It's a library for MongoDB Atlas.
See mongodbatlas.netlify.app also.
npm install @tomsd/mongodbatlas
Import and use MongoDbAtlas class.
import { MongoDbAtlas } from "@tomsd/mongodbatlas";
const mongoDbAtlas = new MongoDbAtlas(
PUBLIC_KEY,
PRIVATE_KEY
);
console.log(
await mongoDbAtlas.projects.getAll()
);
const projectId = "...";
await mongoDbAtlas.project(projectId).get();
await mongoDbAtlas.project(projectId).getUsers();