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

comfydb

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

comfydb - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

3

index.js

@@ -40,2 +40,5 @@ const MongoClient = require( "mongodb" ).MongoClient;

},
Save: async function( key, data, collection = "ComfyDefault" ) {
return comfyDB.Store( key, data, collection );
},
Store: async function( key, data, collection = "ComfyDefault" ) {

@@ -42,0 +45,0 @@ if( !comfyDB._DB ) { throw new Error( "No Connection" ); }

{
"name": "comfydb",
"version": "2.0.1",
"version": "2.0.2",
"description": "Comfiest Way To Use A Database!",

@@ -16,3 +16,20 @@ "main": "index.js",

"ComfyDB",
"Instafluff"
"Instafluff",
"Database",
"Comfy",
"DB",
"Mongo",
"MongoDB",
"Wrapper",
"Interface",
"Easy",
"Intuitive",
"Store",
"Save",
"Get",
"Data",
"Info",
"Storage",
"Search",
"Query"
],

@@ -19,0 +36,0 @@ "author": "Instafluff",

4

README.md

@@ -8,3 +8,3 @@ # ComfyDB

It also takes care of the mundane tasks like setting and maintaining `createdAt` and `updatedAt` fields for each object entry.
It also takes care of mundane tasks like setting and maintaining `createdAt` and `updatedAt` fields for each object entry.

@@ -95,3 +95,3 @@ ```javascript

// Insert/Update JSON object entry by key (e.g. userID, username, timestamp, ... )
await ComfyDB.Store( key, data, collection = "ComfyDefault" );
await ComfyDB.Store( key, data, collection = "ComfyDefault" ); // ComfyDB.Save() also works

@@ -98,0 +98,0 @@ // Retrieve object entry by key

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