Socket
Socket
Sign inDemoInstall

winston-logs-display

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

winston-logs-display - npm Package Compare versions

Comparing version 0.0.2 to 0.1.0

0

app.js

@@ -0,0 +0,0 @@ module.exports = function(app, logger) {

4

package.json
{
"name": "winston-logs-display",
"version": "0.0.2",
"version": "0.1.0",
"description": "Node.js module for express, main purpose of that module is make easy access to winston logs",

@@ -30,4 +30,6 @@ "main": "app.js",

"dependencies": {
"express": "^4.9.4",
"winston": "^0.8.3",
"jade": "^1.7.0"
}
}
winston-logs-display
====================
Node.js module for express, main purpose of that module is make easy access to winston logs
Node.js module for express, main purpose of that module is make easy access to winston logs.
To install that module use command
```
npm install winston-logs-display
```
And there is simple example of using it
```
var app = require('express')();
var winston = require('winston');
var logger = new (winston.Logger)({
transports: [
new (winston.transports.File)({
filename: 'logs/winston.log'
})
]
});
require('winston-logs-display')(app, logger);
```
After that you can see all logs by url http://yourhost:port/logs.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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