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

express-stats

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-stats - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

6

lib/express-stats.js

@@ -5,3 +5,2 @@ 'use strict';

path = require('path'),
cors = require('cors'),
root = path.normalize(__dirname + '../../..');

@@ -11,2 +10,6 @@

// enable cors
// provide swagger in /views/swagger.json
// mkdir /logs and chmod 700 -R /logs
// provide /logs/error.log /logs/forever.log /logs/console.log
// options = { hostname: 'example.com', basePath: '/v0' }

@@ -21,3 +24,2 @@ function createMethods(app, options) {

app.use(cors());
app.set('views', root + '/views');

@@ -24,0 +26,0 @@ app.engine('json', require('ejs').renderFile);

{
"name": "express-stats",
"version": "0.0.4",
"version": "0.0.5",
"description": "Runtime statics for express production servers",

@@ -14,4 +14,3 @@ "main": "app.js",

"dependencies": {
"express": ">=4.12.3",
"cors": ">=2.5.3"
"express": ">=4.12.3"
},

@@ -18,0 +17,0 @@ "repository": "georgschlenkhoff/express-stats",

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