NPM Package that reads data from a Prometheus Instance with Node Exporter
Find a file
2025-06-16 01:44:35 +02:00
src initial commit 2025-06-16 01:11:24 +02:00
package.json changed name to promstats 2025-06-16 01:41:06 +02:00
README.md added readme 2025-06-16 01:44:35 +02:00
tsconfig.json initial commit 2025-06-16 01:11:24 +02:00

promstats

📊 Access Prometheus + Node Exporter hardware metrics through simple JavaScript functions.

promstats is a lightweight Node.js package that fetches and parses hardware and system metrics (like CPU and system info) from a Prometheus server running with Node Exporter. It wraps raw metrics into clean JS functions so you can integrate them into your apps with ease.


Features

  • 🔧 Fetches real-time metrics from Prometheus
  • 📦 Simple API for accessing CPU and system-level data
  • 🧠 Intelligent parsing of Node Exporter metrics
  • Written in TypeScript

🚀 Installation

npm install promstats