New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

browser-language

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

browser-language

simple language middleware for express

0.0.1
Source
npm
Version published
Weekly downloads
82
12.33%
Maintainers
1
Weekly downloads
 
Created
Source

logger-request Build Status NPM version

simple logger middleware for express

API

var app = require('express')();
var logger-request = require('logger-request');

app.use(logger-request({filename:'pippo.log'}));

logger-request(options)

Setup session store with the given options.

Options
  • filename - The filename of the logfile to write output to.
  • maxsize - Max size in bytes of the logfile, if the size is exceeded then a new file is created.
  • json - If true, messages will be logged as JSON (default true).

releated to https://github.com/flatiron/winston#file-transport

License

Copyright (c) 2014 hex7c0 Licensed under the GPLv3 license.

Keywords

browser

FAQs

Package last updated on 13 May 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts