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

@angelitosystems/devtools-protocol

v2.0.1

Published

Typed WebSocket protocol shared by the NestJS DevTools SDK, server and dashboard.

Readme

@angelitosystems/devtools-protocol

Tipos y utilidades compartidas para el protocolo WebSocket de NestJS DevTools.

Este paquete define el contrato entre el SDK, el servidor y el dashboard. No tiene dependencias de runtime y puede utilizarse en Node.js, Bun o una aplicacion web.

Instalacion

npm install @angelitosystems/devtools-protocol
bun add @angelitosystems/devtools-protocol

Exportaciones

El paquete exporta:

  • DevToolsMessage, DevToolsEvent, DevToolsEventMap y los payloads tipados.
  • DevToolsEventName y PROTOCOL_VERSION.
  • createMessage, parseMessage y randomId para construir y validar mensajes.
  • Redactor, redactValue, redactText y defaultRedactor.
  • Utilidades para enlaces profundos de VS Code y Cursor.

Crear un mensaje tipado

import {
  createMessage,
  PROTOCOL_VERSION,
  type DevToolsMessage,
  type LogPayload,
} from '@angelitosystems/devtools-protocol';

const payload: LogPayload = {
  projectId: 'catalog-api',
  level: 'info',
  message: 'Application started',
  processId: process.pid,
  timestamp: Date.now(),
};

const message: DevToolsMessage<LogPayload> = createMessage(
  'log.created',
  payload,
  { projectId: 'catalog-api' },
);

console.log(PROTOCOL_VERSION, message.event, message.payload.message);

Los nombres de evento y sus payloads estan relacionados mediante DevToolsEventMap; TypeScript detectara un payload incompatible con el evento elegido.

Redaccion de datos

Antes de enviar informacion de una aplicacion, puedes eliminar secretos con el redactor incluido:

import { Redactor } from '@angelitosystems/devtools-protocol';

const redactor = new Redactor({ redact: ['internalId'] });

redactor.redact({ password: 'secret', email: '[email protected]' });
// { password: '[REDACTED]', email: '[email protected]' }

La politica predeterminada cubre contrasenas, tokens, cookies, autorizaciones, claves privadas y nombres sensibles similares. Tambien limita la profundidad y el tamano de los valores capturados.

Compatibilidad

PROTOCOL_VERSION es 1. Un cambio incompatible en el envelope o en los payloads requiere incrementar esta version.

Desarrollo

Desde el monorepo:

bun run --cwd packages/protocol build
bun test packages/protocol

Licencia

MIT. Consulta la documentacion general en docs/architecture.md.