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

@helyx/module-counting

v1.0.11

Published

A focused, server-scoped Discord counting game.

Readme

@helyx/module-counting

Counting runs one durable, server-scoped number sequence in a configured Discord channel. Atomic updates prevent duplicate gateway deliveries and concurrent workers from advancing the game twice.

Availability and deployment

Counting is Live and supported by Hosted Helyx and Helyx Self-Hosted. It uses Helyx runtime services and Discord capabilities available in both deployment modes.

What it does

Members take turns posting the next bare base-10 integer. Managers choose the starting number, direction, interval, optional target, target behavior, member cooldown, and handling for incorrect or non-number messages. A game can be inspected, reset, or deleted from its dashboard resource page.

Commands and interactions

| Path | Default access | Purpose | | ----------------- | -------------- | ------------------------------------------------ | | /games counting | Everyone | Privately show the current game and next number. |

Messages in the configured channel are handled only while the module and game are active. The eligibility check is read-only; durable game creation and updates occur within the execution boundary.

Dashboard configuration

The dashboard defines the game channel and sequence rules. Saving settings does not silently reset an existing game; use the confirmed Reset game action to apply a new starting state. Deleting a game tombstones it so ordinary message traffic cannot recreate it, while the explicit create action can start it again.

Discord requirements

Counting needs View Channel, Send Messages, and Manage Messages in its configured channel. The Message Content privileged intent is required solely to parse new candidate messages. It does not require Administrator or Server Members.

Data, privacy and retention

The game record retains bounded sequence state and the last participant reference. Accepted entries retain server, message, member, numeric, generation, and timestamp fields for 30 days. Incorrect content and message text are not retained. Privacy access and erasure cover participant references even while Counting is disabled.

Operations and failure behavior

Accepted entries, their audit record, retention schedule, and achievement-delivery task commit atomically using optimistic concurrency. Optional module Logging cannot fail an accepted entry or dashboard reset. Shared statistics and achievement events use idempotency keys so retries do not double-count activity. Missing required gameplay services are reported as unhealthy.

Documentation and support

See the Counting guide, commands, permissions, and FAQ.