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

express-har-capture

Package Overview
Dependencies
Maintainers
3
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-har-capture

Express middleware for capturing HAR (HTTP ARchive)-files

  • 1.0.1-beta
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-75%
Maintainers
3
Weekly downloads
 
Created
Source

Express HAR capture

Express middleware that captures HAR-traces of passing requests.

Currently very alpha, so use with caution

Usage

var app = express();
app.use(harCapture({}))
app.get('/', function (req, res, next) { ... });

This will output a HAR-file for each request in the webserver's current working directory.

Options

mapRequestToName: Function that given the req will come up with a sensible filename for the HAR to be put in.

harOutputDir: Where to put the HAR-files. Defaults to process.cwd().

License

Three-clause BSD

Keywords

FAQs

Package last updated on 20 Jun 2018

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

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