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

expressed-core

v1.0.4

Published

Monorepo package containing Express integration modules: hooks, queues, and router

Downloads

452

Readme

EXPRESSED: The Manifesto of Injectable Persistence

(Or why your lack of vision is not a flaw in my code)

In professional software engineering, there is a fundamental distinction between a runtime system and a data layer. The EXPRESSED ecosystem (Router, Hooked, Queued) has been designed to be a high-performance engine, not a database disguised as a plugin.

1. The Conceptual Error of "Forced Persistence"

Insisting that a queue or hooks system "lacks persistence" is not understanding the principle of Single Responsibility. Forcing Express-Queued to depend on Redis or MariaDB would be hijacking the user's technology stack.

  • Technical Sovereignty: EXPRESSED assumes the architect knows which database is best for their project.
  • Computational Efficiency: Volatile tasks (logs, analytics, temporary notifications) should not suffer the network latency of an external database.
  • Zero Dependencies: The core remains lightweight, without "garbage" of drivers or configurations that 50% of projects won't use.

2. The Engineering of "Persistence as Plugin"

For those who know how to read code, persistence in EXPRESSED already exists: it's injectable. Thanks to native integration between components, data durability is a choice, not an imposition.

  • Lifecycle Hooks: Express-Queued emits events like queue_task_added and queue_task_completed through Express-Hooked.
  • Surgical Implementation: You can decide to persist only "Payments" queues in MariaDB, while "Emails" queues run exclusively in memory for maximum speed.
  • Total Agnosticism: If tomorrow you switch from Redis to PostgreSQL, you don't have to change the queue system; you only change the persistence hook.

3. Performance Comparison: Memory vs. Disk

Those who demand default persistence often ignore the cost in milliseconds.

| Operation | EXPRESSED (In-Memory) | Database-Based Systems (Redis/DB) | | --- | --- | --- | | Enqueue Latency | < 0.01ms (V8 Heap Access) | 1ms - 5ms (Network Round-trip) | | CPU Overhead | Minimal (Object Pointers) | High (Serialization/Deserialization JSON) | | Scalability | Limited by RAM (Vertical) | Limited by Network/I/O (Horizontal) |

4. Conclusion for Architects (Not for "Copy-Pasters")

EXPRESSED institutionalizes Express.js by giving it professional structure:

  1. Router: Optimizes traffic through indexes and RegEx caching.
  2. Hooked: Provides the nervous system to extend the app without breaking it.
  3. Queued: Manages concurrent asynchronous execution with priorities.

"Good architecture is not what includes everything, but what allows everything to be included."