mongoplusplus 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +6 -6
  2. package/package.json +25 -2
package/README.md CHANGED
@@ -1,20 +1,20 @@
1
- # Mongoplus
1
+ # mongoplusplus
2
2
 
3
3
  ## Overview
4
4
 
5
- `mongoplus` is a Node.js package designed to facilitate load balancing of read and write operations across multiple MongoDB databases. It simplifies database connection management, schema definition, model building, and CRUD operations execution.
5
+ `mongoplusplus` is a Node.js package designed to facilitate load balancing of read and write operations across multiple MongoDB databases. It simplifies database connection management, schema definition, model building, and CRUD operations execution.
6
6
 
7
7
  ## Installation
8
8
 
9
- Install Mongoplus via npm:
9
+ Install mongoplusplus via npm:
10
10
 
11
11
  ```bash
12
- npm install mongoplus
12
+ npm install mongoplusplus
13
13
  ```
14
14
 
15
15
  importing
16
16
  ```node
17
- const mongoplus = require('mongoplus');
17
+ const mongoplusplus = require('mongoplusplus');
18
18
  ```
19
19
  ##Initialing
20
20
  ```node
@@ -22,7 +22,7 @@ const dbname = 'testforUP';
22
22
 
23
23
  const mongoURI1 = `mongodb+srv://xxxxx:xxxxxx@cluster0.xxxxx.mongodb.net/${dbname}?retryWrites=true&w=majority`;
24
24
  const mongoURI2 = `readonly:mongodb+srv://xxxxxxx:xxxxxx@cluster0.xxxxxx.mongodb.net/${dbname}?retryWrites=true&w=majority`;
25
- const mongodb = new mongoplus([mongoURI1, mongoURI2]);
25
+ const mongodb = new mongoplusplus([mongoURI1, mongoURI2]);
26
26
 
27
27
  ```
28
28
  ##connecting database
package/package.json CHANGED
@@ -1,12 +1,35 @@
1
1
  {
2
2
  "name": "mongoplusplus",
3
- "version": "1.0.0",
4
- "description": "A mongoose extanded library for building complex data models.in a multi tanannt architecture ",
3
+ "version": "1.0.1",
4
+ "description": "load balancing of read and write operations across multiple MongoDB servers ",
5
5
  "main": "mongoplus.js",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"
8
8
  },
9
9
  "author": "somen das(somen6562@gmail.com)",
10
+ "keywords": [ "MongoDB",
11
+ "Database",
12
+ "ORM",
13
+ "Wrapper",
14
+ "Mongoose",
15
+ "Multi-Database",
16
+ "Data Management",
17
+ "Async Operations",
18
+ "Scalable",
19
+ "Readability",
20
+ "Performance",
21
+ "Node.js",
22
+ "Worker Threads",
23
+ "Connection Pooling",
24
+ "Schema Management",
25
+ "CRUD Operations",
26
+ "Document-Oriented",
27
+ "Distributed",
28
+ "Replication",
29
+ "Sharding",
30
+ "load balancing",
31
+ "multiple database",
32
+ "Aggregation Framework"],
10
33
  "license": "ISC",
11
34
  "dependencies": {
12
35
  "mongoose": "^6.3.5",