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

@vibe2founder/queue2runtime

v1.0.0

Published

Universal and Native Message Routing Infrastructure. Zero dependencies, ultra-high performance.

Readme

🚀 queue2runtime

TypeScript Zero Dependencies License Bun Event Sourcing Proxy

Polyglot Queue — O Tradutor de Filas (Queue Translator) universal e nativo construído para curar o caos do ecossistema de mensageria, agnóstico de infraestrutura e altamente performático sob Bun.

🔗 Veja o nosso CHANGELOG.md para acompanhar as atualizações mais recentes.


🚀 Como Funciona

Imagine poder rotear mensagens do NATS para o Kafka, do Redis Streams para o RabbitMQ (e vice-versa), sem o custo de levantar containers ou sidecars super-robustos. O queue2runtime realiza esse mapeamento e proxy-streaming dinâmico atuando como uma via unificadora universal para protocolos de event-streaming.

import { QueueTranslator } from './packages/core';
import { NatsAdapter } from './packages/nats-native';
import { KafkaAdapter } from './packages/kafka-native';

const translator = new QueueTranslator();

// Registra os brokers no mesmo fluxo poliglota
await translator.register(new NatsAdapter({ url: 'nats://localhost:4222' }));
await translator.register(new KafkaAdapter({ brokers: ['localhost:9092'] }));

// Adiciona uma rota automática interceptadora: NATS -> Kafka
await translator.addRoute('nats', 'order.created', 'kafka', 'processing.orders');

🛠️ Como foi feito

O projeto foi codificado respeitando a fundação central do framework: ser à prova de falhas com Evidence-first.

Ele unifica drivers baseados nativamente em pacotes de sistema usando interfaces genéricas Type-safe — ou seja, criamos Adapters nominais (como TCP Nativo, RESP, Kafka Wire protocol) para encapsular as complexidades dentro de polimorfismo limpo.

O mecanismo central (QueueTranslator) adereção Object Calisthenics não conhecendo individualmente qual broker está rodando. As proteções do sistema garantem entrega com ACKs e NACKs sem ferir as responsabilidades ou dependências.


🧪 Como testar

Utilizamos o padrão TDD base do vibe2founder. Para testes diretos sem side-effects no sistema real:

  1. Clone a base via bun install sempre no ambiente wsl.
  2. É preferido o uso do módulo interno queue2tests, mas testes unitários locais rodam isoladamente simulando fluxos em memória (in-memory adapters de fallback) do QueueTranslator.
  3. Use o comando de bun test e verifique todo o roteamento lógico da camada de transporte sem atrasos de container.