
Product
Introducing Pull Request Stories to Help Security Teams Track Supply Chain Risks
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
@metamodules/mongo
Advanced tools
create-node-app metamodule for mongo. Develop and deploy mongo in seconds!
For use with create-node-app and deploy-node-app
To add this metamodule to your project:
npm install @metamodules/mongo
// This "just works" both in development and production!
const mongo = require('@metamodules/mongo')()
var kittySchema = new mongo.Schema({
name: String
})
var Kitten = mongo.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
create-node-app metamodule for mongo. Develop and deploy mongo in seconds!
We found that @metamodules/mongo demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
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.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
Research
/Security News
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.