2.0.4 • Published 4 months ago

@tomsd/mongodbatlas v2.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

@tomsd/mongodbatlas

It's a library for MongoDB Atlas.
See mongodbatlas.netlify.app also.

npm NPM

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

installation

npm install @tomsd/mongodbatlas

usage

Import and use MongoDbAtlas class.

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

const mongoDbAtlas = new MongoDbAtlas(
  PUBLIC_KEY,
  PRIVATE_KEY
);

get projects

console.log(
  await mongoDbAtlas.projects.getAll()
);

get one project

const projectId = "...";
await mongoDbAtlas.project(projectId).get();

get users in project

await mongoDbAtlas.project(projectId).getUsers();
2.0.4

4 months ago

2.0.3

6 months ago

2.0.2

7 months ago

2.0.1

7 months ago

1.1.0-alpha.1

8 months ago

1.0.2

8 months ago

1.1.0

8 months ago

1.1.0-alpha.0

8 months ago

2.0.0-alpha.0

8 months ago

2.0.0

8 months ago

1.0.1

3 years ago

1.0.0

3 years ago