npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@trap_stevo/servicetide

v0.0.2

Published

Powering the future of system reliability, this solution offers a groundbreaking approach to monitoring and managing service health at any scale. Seamlessly integrating internal checks, external endpoint validation, historical tracking, and real-time broa

Downloads

16

Maintainers

trap_stevotrap_stevo

Keywords

LegendaryEnlightenedSteven ComptonMagicalservice monitoringinfrastructure healthuptime trackingdynamic service dashboardsmicroservice managementinternal job supervisionexternal endpoint checksreal-time service broadcastingcustomizable status logichistorical service insightsscalable system monitoringevent-driven status alertsinfrastructure automation toolsServiceTideAPI for developerssystem reliabilityincident tracking workflowsenterprise observabilitystatus checkingservice-metadata integrationservice monitoringuptime tracking toolsreal-time service checkscustomizable health logicinternal service validationexternal endpoint verificationRESTful status monitoringlightweight observability layerchangelog-powered service metadataresilient infrastructure SDKauto-polling health checksscalable API monitoringstatus synchronization APIdeveloper-first monitoring solutionmodular service checkerservice status integrationinfrastructure health trackingreal-time incident responsesystem uptime analyticsbackground job monitoringinternal system observabilityexternal service watchdogstatus history & trendsdistributed system diagnosticsbroadcast-ready status engineautomation-friendly monitoringon-prem + cloud service healthevent-based service alertstag-based service groupinginternal service telemetryservice lifecycle trackingper-service polling controldynamic status dashboardsreal-time service health displayuser-facing system transparencycustomizable status endpointsincident history trackingservice health changelogstagged service filteringuptime trust signalsstatus visualization toolspublic status APIenterprise-ready status broadcastingbusiness continuity insightslive service health snapshotsexternal service communicationinfrastructure health summariesstatus updates made simple

Readme

ServiceTide

Real-time service monitoring with precision and control.

Track internal jobs, monitor external endpoints, and broadcast service health across your infrastructure. Simplify uptime tracking, failure detection, and status broadcasting—without the overhead. Designed for fast teams, scalable systems, and legendary reliability.


⚡ Highlights

  • Internal + external service registration
  • Real-time health checks using custom logic
  • REST endpoints for live service dashboards (optional)
  • Historical status tracking with overflow handling
  • Per-service tags, metadata, and change logs
  • status-change and service-updated event hooks
  • Clean class-based API—no configs, no clutter

📦 Install

npm install servicetide

🚀 Quick Start

const ServiceTide = require("@trap_stevo/servicetide");

const tide = new ServiceTide({
     broadcastMode : true,
     port : 3000,
     pollInterval : 10000
});

tide.registerService("MockAPI", {
     type : "external",
     url : "https://jsonplaceholder.typicode.com/todos/1",
     method : "GET",
     successCriteria : (data) => !!data,
     successMessage : "MockAPI responsive.",
     failureMessage : "MockAPI did not respond.",
     tags : ["external", "mock"]
});

tide.on("status-change", ({ name, online, message, timestamp }) => {
     console.log(`[${timestamp}] ${name}: ${online ? "🟢 ONLINE" : "🔴 OFFLINE"} - ${message}`);
});

tide.on("service-updated", ({ name, updates }) => {
     console.log(`[UPDATED] ${name}:`, updates);
});

tide.start();

🧠 Service Config Options

| Option | Type | Description | |------------------------|------------|--------------------------------------------------| | type | "internal" or "external" | Determines the check source | | url | string | Endpoint to ping (external only) | | method | string | HTTP method (default: "GET") | | check | function | Async function returning true/false (internal) | | successCriteria | function | Function that evaluates response data | | successMessage | string | Shown when the check passes | | failureMessage | string | Shown when the check fails | | statusEndpointBase | string | Prefix path for REST endpoints (e.g. "/api") | | requestConfigurations| object | Additional Axios config | | tags | string[] | Optional categorization | | maxStatusHistoryLength | number | Defines the max history entries services can store | | onStatusHistoryOverflow | function | Triggered when history exceeds limit | | allowedUpdateFields | string[] | Fields that can get updated via updateServiceDetails (optional override) |


🔥 REST Endpoints (if broadcastMode is true)

  • GET /status — all service statuses
  • GET /status/:serviceName — individual service status
  • GET /status/tag/:tag — all services with a specific tag

🔗 License

See License in LICENSE.md


Built to keep your stack alive and legendary.