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

express-orm-mvc

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-orm-mvc - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

.coveralls.yml

8

lib/model.js
var path = require('path');
var helper = require('./_helper');
var database = null;
module.exports = function(app, opt, callback) {
if(database) return callback(null, database);
var orm = opt.orm;

@@ -35,6 +32,3 @@

//cache
database = db;
callback(null, database);
callback(null, db);
});

@@ -41,0 +35,0 @@ });

{
"name": "express-orm-mvc",
"version": "1.0.1",
"version": "1.0.2",
"description": "Express + ORM MVC",
"main": "index.js",
"scripts": {
"test": "clear && mocha",
"start": "clear && node index"
"test": "mocha"
},

@@ -37,4 +36,6 @@ "repository": {

"request": "^2.34.0",
"orm-2.1.3": "^2.1.3"
"orm-2.1.3": "^2.1.3",
"coveralls": "^2.8.0",
"istanbul": "^0.2.6"
}
}

@@ -1,6 +0,10 @@

Express + ORM MVC
express-orm-mvc
===============
[![NPM version](https://badge.fury.io/js/express-orm-mvc.png)](http://badge.fury.io/js/express-orm-mvc)
[![Dependency Status](https://gemnasium.com/ddo/express-orm-mvc.png)](https://gemnasium.com/ddo/express-orm-mvc)
[![Coverage Status](https://coveralls.io/repos/ddo/express-orm-mvc/badge.png?branch=master)](https://coveralls.io/r/ddo/express-orm-mvc?branch=master)
[![Code Climate](https://codeclimate.com/github/ddo/express-orm-mvc.png)](https://codeclimate.com/github/ddo/express-orm-mvc)
![codeship](https://www.codeship.io/projects/db0d6920-87f7-0131-c865-5eebdd5ccdbf/status)

@@ -31,5 +35,2 @@

[![Dependency Status](https://david-dm.org/ddo/express-orm-mvc.png?theme=shields.io)](https://david-dm.org/ddo/express-orm-mvc)
By default:

@@ -36,0 +37,0 @@

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