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

@types/express-status-monitor

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/express-status-monitor - npm Package Compare versions

Comparing version 1.2.3 to 1.2.4

32

express-status-monitor/index.d.ts

@@ -13,20 +13,20 @@ // Type definitions for express-status-monitor 1.2

interface ExpressStatusMonitorConfig {
title?: string;
theme?: string;
path?: string;
socketPath?: string;
websocket?: SocketIO.Server | null; // References a socket.io instance
spans?: RetentionSpan[];
title?: string | undefined;
theme?: string | undefined;
path?: string | undefined;
socketPath?: string | undefined;
websocket?: SocketIO.Server | null | undefined; // References a socket.io instance
spans?: RetentionSpan[] | undefined;
chartVisibility?: {
cpu?: boolean;
mem?: boolean;
load?: boolean;
cpu?: boolean | undefined;
mem?: boolean | undefined;
load?: boolean | undefined;
/** @default true */
heap?: boolean;
responseTime?: boolean;
rps?: boolean;
statusCodes?: boolean;
};
healthChecks?: HealthCheck[];
ignoreStartsWith?: string;
heap?: boolean | undefined;
responseTime?: boolean | undefined;
rps?: boolean | undefined;
statusCodes?: boolean | undefined;
} | undefined;
healthChecks?: HealthCheck[] | undefined;
ignoreStartsWith?: string | undefined;
}

@@ -33,0 +33,0 @@

{
"name": "@types/express-status-monitor",
"version": "1.2.3",
"version": "1.2.4",
"description": "TypeScript definitions for express-status-monitor",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express-status-monitor",
"license": "MIT",

@@ -25,4 +26,4 @@ "contributors": [

},
"typesPublisherContentHash": "4a8b63474a3d5271bff66606f795d3159c692dcced68a0b4e1371f02f205d1c0",
"typeScriptVersion": "3.5"
"typesPublisherContentHash": "ddc6543466eb1257814762658b4aaaed1c0de947f1c349b90d1e53f374573bd1",
"typeScriptVersion": "3.6"
}

@@ -9,5 +9,56 @@ # Installation

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express-status-monitor.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express-status-monitor/index.d.ts)
````ts
// Type definitions for express-status-monitor 1.2
// Project: https://github.com/RafalWilinski/express-status-monitor#readme
// Definitions by: Alex Anderson <https://github.com/alexanderson1993>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
/// <reference types="socket.io" />
import express = require('express');
declare namespace e {
interface ExpressStatusMonitorConfig {
title?: string | undefined;
theme?: string | undefined;
path?: string | undefined;
socketPath?: string | undefined;
websocket?: SocketIO.Server | null | undefined; // References a socket.io instance
spans?: RetentionSpan[] | undefined;
chartVisibility?: {
cpu?: boolean | undefined;
mem?: boolean | undefined;
load?: boolean | undefined;
/** @default true */
heap?: boolean | undefined;
responseTime?: boolean | undefined;
rps?: boolean | undefined;
statusCodes?: boolean | undefined;
} | undefined;
healthChecks?: HealthCheck[] | undefined;
ignoreStartsWith?: string | undefined;
}
interface RetentionSpan {
interval: number;
retention: number;
}
interface HealthCheck {
protocol: string;
host: string;
path: string;
port: string | number;
}
}
declare function e(config?: e.ExpressStatusMonitorConfig): express.RequestHandler;
export = e;
````
### Additional Details
* Last updated: Fri, 14 May 2021 19:01:36 GMT
* Last updated: Thu, 08 Jul 2021 12:01:23 GMT
* Dependencies: [@types/express](https://npmjs.com/package/@types/express), [@types/socket.io](https://npmjs.com/package/@types/socket.io)

@@ -14,0 +65,0 @@ * Global values: none

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