🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis
Socket
Book a DemoInstallSign in
Socket

fastmongo

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fastmongo

✨ FastMongo is a easy to use mongodb wrapper. Like quick.db.

latest
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

🎉 FastMongo

FastMongo is a easy to use mongodb wrapper. Like quick.db.

Features

  • Supports full JSON paths.
  • Easy to use.
  • Uses collections and documents.

Usage

const { createFastMongo } = require("fastmongo");

(async () => {
  const mongo = await createFastMongo("mongodb://calhost/FASTMONGO");

  const myDB = await mongo.Database();
  myDB.set("nice.data", 1243);
  myDB.get("nice.data", "defaultValue");
  myDB.has("nice.data");
  myDB.update("nice.data", (oldValue) => {
    return [oldValue];
  });
  myDB.delete("nice.data");
})();

API

Coming Soon™️

TODO

  • db.add(), db.subtract(), db.push(), db.shift()
  • Cache System
  • Better Data Fetching System
Created By Kıraç Armağan Önal With ❤

Keywords

easy

FAQs

Package last updated on 23 Dec 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts