@types/prometheus-gc-stats
TypeScript icon, indicating that this package has built-in type declarations

0.6.4 • Public • Published

Installation

npm install --save @types/prometheus-gc-stats

Summary

This package contains type definitions for prometheus-gc-stats (https://github.com/SimenB/node-prometheus-gc-stats).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/prometheus-gc-stats.

index.d.ts

declare namespace prometheusGcStats {
    interface Config {
        prefix?: string | undefined;
    }
}

// register is typeof require('prom-client').Registry which has its own .d.ts
declare function gcStats(register: any, config?: prometheusGcStats.Config): () => void;

export = gcStats;

Additional Details

  • Last updated: Tue, 07 Nov 2023 09:09:39 GMT
  • Dependencies: none

Credits

These definitions were written by Daniel Byrne.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/prometheus-gc-stats

Weekly Downloads

3,446

Version

0.6.4

License

MIT

Unpacked Size

3.21 kB

Total Files

5

Last publish

Collaborators

  • types