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 🙏

© 2024 – Pkg Stats / Ryan Hefner

nyx-rockstar-status

v1.0.4

Published

This module retrieves and checks the status of various Rockstar Games online services, such as Red Dead Online, GTA Online, Social Club, and the Rockstar Games Launcher, across different platforms (PC, Xbox One, PS4, etc.). It queries Rockstar's official

Downloads

19

Readme

rockstar-api-status

nyx-rockstar-status is a simple module for Node.js that allows you to easily check the status of Rockstar Games services. It retrieves and formats the status of services such as Red Dead Online, Grand Theft Auto Online, and the Rockstar Games Launcher, providing users with clear and legible output, along with timestamps for last updates.

Features

  • Service Status: Fetch the current status of various Rockstar services (up, down, maintenance).
  • Formatted Output: Display status in a user-friendly format for easy reading.
  • Timestamps: Each status check includes the last update time for accurate tracking.

Installation

To install nyx-rockstar-status, use npm (Node Package Manager). Run the following command in your terminal:

npm install nyx-rockstar-status

How to Use

Here's how to use nyx-rockstar-status in your project:

const { getRockstarStatus, formatStatus } = require('rockstar-api-status');

(async () => {
    try {
        const status = await getRockstarStatus();

        console.log("Rockstar Services Status:");
        console.log("=======================================");

        console.log("Red Dead Online:", formatStatus(status.redDedOnline));
        console.log("Grand Theft Auto Online:", formatStatus(status.gtao));
        console.log("Social Club:", formatStatus(status.socialClub));
        console.log("Rockstar Games Launcher:", formatStatus(status.launcher));
        console.log("Last Updated:", status.lastUpdate);
    } catch (err) {
        console.error("Error retrieving statuses:", err);
    }
})();

Contributions

Contributions are welcome! If you'd like to improve the module, don’t hesitate to submit a pull request.