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

express-light-logger

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-light-logger - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

6

index.js

@@ -13,3 +13,7 @@ module.exports = function() {

stream.write('\nResponse sent in ' + duration.toFixed(3) + ' milliseconds \n');
var method = req.method;
var url = req.url;
stream.write('\nRequest ' + method + ' to "' + url + '"\nprocessed in ' +
duration.toFixed(3) + ' milliseconds \n');
});

@@ -16,0 +20,0 @@

2

package.json
{
"name": "express-light-logger",
"version": "0.0.2",
"version": "0.0.3",
"description": "Express middleware which logs requests to stdout",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -5,4 +5,8 @@ # Express Light Logger

Usage:
## Installation
`npm install express-light-logger`
## Example
```javascript

@@ -9,0 +13,0 @@ var express = require('express');

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