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

enormis

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

enormis

Simple modern MongoDB driver


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created

Enormis

Simple modern MongoDB driver

Motivation

Callback Hell
MongoClient.connect(URL).then(db => {
    // ...
});
Poor Syntax
db.collection(NAME).find(QUERY).toArray().then(res => {
    // ...
});

Mongo Shell Inspiration:

 $ db.user.find()

Code Example

import Enormis from './index';

let db = new Enormis('mongodb://localhost:27017/test');

db.user.find({}).then(console.log);

FAQs

Package last updated on 06 May 2016

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