New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@nodeapp/mongo

Package Overview
Dependencies
Maintainers
2
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nodeapp/mongo

create-node-app metamodule for mongo. Develop and deploy mongo in seconds!

latest
npmnpm
Version
0.0.1
Version published
Maintainers
2
Created
Source

MongoDB Meta-Module CircleCI npm version

For use with create-node-app and deploy-node-app

To add this metamodule to your project:

npm install @nodeapp/mongo
// This "just works" both in development and production!
const mongo = require('@nodeapp/mongo')()

var kittySchema = new mongoose.Schema({
  name: String
})

var Kitten = mongoose.model('Kitten', kittySchema)

var fluffy = new Kitten({ name: 'fluffy' })
fluffy.save(function(err, fluffy) {
  if (err) return console.error(err)

  Kitten.find(function(err, kittens) {
    if (err) return console.error(err)
    console.log(kittens)
  })
})

This is a simple wrapper around the mongoose module and includes the latest stable MongoDB image. This module exposes an instances of a mongoose Connection.

FAQs

Package last updated on 04 Jul 2019

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