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

clout-mongoose

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clout-mongoose

Clout module to leverage mongoose for models

  • 0.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

clout-mongoose

Install

In the directory of your clout-js application, do the following;

  1. Install this package
npm install clout-mongoose
  1. Add this module to package.json
{
    ...
    "modules": ["clout-mongoose"]
    ...
}

Configure

Create a new file mongoose.default.js or mongoose.<YOUR_ENV>.js in /conf directory with the following JavaScript.

module.exports = {
    mongoose: {
        // refer to http://mongoosejs.com/docs/connections.html
        uri: 'mongodb://localhost/myapp',
        conf: {}
    }
};

Keywords

FAQs

Package last updated on 15 Jun 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

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