Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ez.database

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ez.database - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

2

package.json
{
"name": "ez.database",
"version": "1.0.4",
"version": "1.0.5",
"description": "Easy to use and lightweight MongoDB Wrapper Database for beginners.",

@@ -5,0 +5,0 @@ "main": "src/Database/Database.js",

@@ -34,3 +34,3 @@ # Ez.Database

### Setup
## Setup
To get the project started, run the command **npm init -y**, to initalize your project as node:

@@ -43,3 +43,3 @@ ```js

---
### Setting up MongoDB
## Setting up MongoDB
#### Creating An Account

@@ -50,3 +50,3 @@ To setup a **Database**, please visit **[MongoDB's Website](https://www.mongodb.com/)**. Next, click login, and from there, click sign up. You can either create and account, or sign up with **Google**.

#### Installing MongoDB Compass
## Installing MongoDB Compass
Next, we're going to install **[MongoDB Compass](https://www.mongodb.com/try/download/compass)**. **Compass** is good for visualising and understanding data, and **query syntax**. It also makes managing your **Databases** and **Collections** easier. To install it, visit the **[Compass Download Page](https://www.mongodb.com/try/download/compass)**, and click download.

@@ -56,3 +56,3 @@

#### Creating a Cluster + Connecting to Cluster
## Creating a Cluster + Connecting to Cluster
When **Compass** is finished installing, open it up. You should see a screen where you need to paste your **connection string**.

@@ -74,3 +74,3 @@

#### Creating a Database and Collection
## Creating a Database and Collection
Now, you need to create a **Database**. Click the **Create Database** button, and specify your Database and Collection name. Next, click **Create Collection**, and specify your collection name.

@@ -83,3 +83,3 @@

## Using Ez.Database
### Connecting to MongoDB with Ez.Database
## Connecting to MongoDB with Ez.Database
Getting started using **Ez.Database** is very easy, and takes a few seconds.

@@ -116,3 +116,3 @@

### Storing, Getting, and Checking Data
## Storing, Getting, and Checking Data
**Ez.Database** simplifies the process of creating Schemas, and instead just uses the ***set***, ***get***, and ***has*** methods.

@@ -119,0 +119,0 @@ Add the follow code to your file:

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc