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-trivia

v1.1.4

Published

Private, server-scoped trivia rounds from a saved question catalogue.

Readme

@helyx/module-trivia

Trivia provides private, server-scoped rounds from the question catalogue installed with the module, with one through ten questions and an optional marked review.

Availability and deployment

Trivia is Live and supported by Hosted Helyx and Helyx Self-Hosted. Gameplay uses the packaged database catalogue and does not call an external trivia provider.

What it does

Members can choose a category, difficulty, niche preference, Multiple Choice, Guess, or True or False. Each answer updates the same ephemeral response. Least-recently-used catalogue rotation reduces repeats without creating member play history.

Commands and interactions

| Path | Default access | Purpose | | --------------- | -------------- | ----------------------------- | | /games trivia | Everyone | Start a private trivia round. |

Buttons and Guess modals are bound to an expiring user session. The shared command adapter performs the initial acknowledgement; the module sends the resulting ephemeral response without acknowledging the interaction twice.

Starting a round uses the trivia command policy. Each final answer separately rechecks the open-by-default trivia.answer participation operation before reading or advancing the bound round session.

Dashboard configuration

Managers set default category, difficulty, question type, niche preference, and answer window. The module can be enabled before settings are saved. Members can override applicable defaults when starting a round.

Discord requirements

Trivia needs only the normal interaction response path where commands are used. It does not require Administrator, Message Content, Server Members, Manage Messages, or Manage Roles.

Data, privacy and retention

Question controls, bounded question IDs, outcome booleans, and member binding use the shared expiring session service. Guess text is compared locally and never stored. Aggregate statistics contain no selected answer, answer text, or question content. Privacy access and erasure cover the declared session and aggregate subject references.

Operations and failure behavior

Versioned migrations install and reconcile the packaged question snapshot. A committed answer remains successful if optional Logging, achievement scheduling, or aggregate statistics later fail; those post-commit paths use bounded safe logs and idempotency. Health verifies the required configuration, records, scheduler, secure-random, session, and resource-authorization services.

Documentation and support

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