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

express-perf

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-perf

`express-perf` is small middleware that records performance timings and status codes from your app and sends it to Perf. We then run analytics on that data to generate metrics and alerts.

  • 1.11.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

express-perf

express-perf is small middleware that records performance timings and status codes from your app and sends it to Perf. We then run analytics on that data to generate metrics and alerts.

Right now perf is in private beta but if you're interested in an API key, feel free to email us at hi@perf.sh

Usage

  • Install express-perf using npm

    npm install express-perf --save
    
  • In your Express application, include express-perf as a middleware

    var express = require('express')
    var perf = require('express-perf')
    
    // include this as the first middleware that you load, right
    // before you instantiate your real routes
    app.use(perf(express, {
      apiKey: 'PERF_API_KEY'
    }))
    
    • require('express') is just an example, you probably have already included this
    • Make sure to replace PERF_API_KEY with the key given to you

FAQs

Package last updated on 05 Nov 2016

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