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

express-scaffold

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-scaffold - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

app.sample.js

3

package.json
{
"name": "express-scaffold",
"version": "0.0.1",
"version": "0.0.2",
"description": "a simple MVC scaffold of Express project for production",

@@ -9,2 +9,3 @@ "logo":"http://ww3.sinaimg.cn/large/61ff0de3jw1e91jmudlz8j201o01o0sj.jpg",

"license": "MIT",
"bin": "./bin/cli.sh",
"scripts": {

@@ -11,0 +12,0 @@ "test": "echo \"Error: no test specified\" && exit 1"

@@ -33,4 +33,3 @@ ## ![logo](http://ww3.sinaimg.cn/large/61ff0de3jw1e91jmudlz8j201o01o0sj.jpg) express-scaffold ![npm](https://badge.fury.io/js/express-scaffold.png)

new server({
env: 'production',
url: 'http://abc.com',
name 'myApp',
database: {

@@ -47,2 +46,4 @@ name: 'expressdemo'

new server({
name 'myApp',
// set env to production
env: 'production',

@@ -52,3 +53,11 @@ // url should be provided. check it out in res.locals.root

database: {
name: 'expressdemo'
name: 'expressdemo',
host: 'http://remoteDB',
port: 27111,
// check it out:
// http://mongoosejs.com/docs/api.html#index_Mongoose-createConnection
options: {
username: 'test',
password: 'testpassword'
}
}

@@ -55,0 +64,0 @@ }).run(9999);

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