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/platform

v0.6.1

Published

Database-backed platform services for Helyx modules and Discord servers.

Downloads

4,236

Readme

@helyx/platform

Database-backed Helyx platform services for configuration, permissions, installations, sessions, audit events, rate limits, subscriptions, durable scheduled work and module records.

Requirements

  • Node.js 24–26
  • npm 11 or newer
  • PostgreSQL 17 for production deployments

Applications create these services from an owned PostgreSQL pool and expose only the bounded interfaces declared by @helyx/sdk to feature modules.

Scheduled-task metadata, leases and coalesced delivery lanes remain inside the core database boundary. Modules can schedule, cancel or signal only their own declared task kinds and receive no repository, lease or worker-topology access.

Record quota guards use canonical, deterministically ordered PostgreSQL transaction advisory locks so concurrent parent creation cannot pass the same shared cap. Guarded high-volume relationship writes may use the reviewed 100,000-row ceiling without a parent insertion. Required-row locks, module-enabled fencing and database-time predicates serialize entry, Privacy, disablement and lifecycle races. Result transactions remain bounded to 20 child rows.

Required module audits, one-shot scheduling and allowlisted retention descriptors can share the record transaction that establishes the related domain state. The core retention lane performs only prevalidated, guild-scoped, bounded deletes and does not execute removed module code.

The platform secure-random service uses operating-system entropy, unbiased bounded-integer rejection sampling and versioned weighted reservoir selection without replacement. Weighted operations use a random opaque operation reference and a configured server-held 32-byte key. Domain-separated HMAC derivation produces independent scoring and checkpoint-integrity keys, so the reference alone cannot predict outcomes or forge state. Deterministic framed scoring and tie-breaking then allow the same reservoir to resume safely across bounded scheduled-task pages. A serialisable checkpoint contains only validated operation metadata, the canonical cursor, counts and totals, a hash-chain audit digest and at most the requested 20 candidate IDs and weights. It never contains raw entropy, raw scores or server keys. The service enforces a maximum 100,000-candidate stream, never expands weights into tickets and returns audit-safe references/digests. The server key must not rotate while a checkpointed selection remains in progress.

Publication status

Published on npm under HSAL 1.0.