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

datadog-middleware

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

datadog-middleware - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

10

index.js

@@ -1,5 +0,7 @@

import StatsD from 'hot-shots'
'use strict'
function middleware(opts) {
let statsd = StatsD(opts)
let StatsD = require('hot-shots')
module.exports = function(opts) {
let statsd = new StatsD(opts)
return (req, res, next) => {

@@ -19,3 +21,1 @@ let start = new Date()

}
export default middleware
{
"name": "datadog-middleware",
"version": "0.0.1",
"version": "0.0.2",
"description": "Connect middleware that records timing metrics via hot-shots",

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

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