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 🙏

© 2026 – Pkg Stats / Ryan Hefner

uptime-robot-v3

v1.0.1

Published

TypeScript / Node.js client for the Uptime Robot REST API v3.

Readme

uptime-robot-v3

npm CI license node TypeScript

Community-maintained TypeScript client for the Uptime Robot REST API v3. The API surface follows the official docs; this package is not affiliated with, endorsed by, or supported by UptimeRobot.

Resource methods live on UptimeRobotService (monitors, public status pages, maintenance windows, and more). The repo runs tests and a production build on every push via GitHub Actions.

Runtime: Node.js 18+ (ESM only: import / import()).

Install

npm install uptime-robot-v3

Dependencies: HTTP via axios, multipart via form-data, and image-size for validating PSP logo/icon files on disk.

Quick start

import { UptimeRobotService } from 'uptime-robot-v3';

const service = new UptimeRobotService({ apiKey: process.env.UPTIMEROBOT_API_KEY! });

const monitors = await service.monitors.list();

Types

Public API types are exported from the package root:

import type { Monitor, Config, MonitorPayload } from 'uptime-robot-v3';

Optional diagnostic logging

By default the client does not write to console. Pass a logger on Config to record API failures or retry-related messages from helpers like executeInBatches:

const service = new UptimeRobotService({
  apiKey: '...',
  logger: (message, level) => {
    if (level === 'error') console.error(message);
    else console.warn(message);
  },
});

Tools and utilities

  • service.toolsUptimeRobotTools (e.g. buildUtcCalendarDayRanges for uptime stats date ranges).
  • RequestTracker — module-level counter incremented once per HTTP call from RequestClient (JSON and multipart). It is not thread-isolated; call RequestTracker.reset() in tests or between jobs if you rely on the count.
  • executeInBatches — batch async work with optional progress logging and retries (see JSDoc).

Node-only: PSP images

Methods that accept PSP logo / icon paths read the file with Node fs and validate size and dimensions. That path is intended for Node scripts, not browsers.

Documentation

License

ISC