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

testurio

v0.6.1

Published

Declarative E2E/integration testing framework for distributed systems with multi-protocol support (HTTP, gRPC, WebSocket, TCP)

Downloads

826

Readme

Testurio

A declarative E2E/integration testing framework for distributed systems with multi-protocol support.

npm version License: MIT Ask DeepWiki

Warning This project is currently a work in progress. The API is not stable and may change without notice. Use at your own risk in production environments.

Read the full documentation

Features

  • Multi-Protocol Support - HTTP, gRPC (Unary & Streaming), WebSocket, TCP
  • Message Queue Support - Publisher/Subscriber for Kafka, RabbitMQ, Redis Pub/Sub
  • DataSource Integration - Direct SDK access to Redis, PostgreSQL, MongoDB
  • Declarative API - Write tests in execution order with clear, readable syntax
  • Component-Based - Define clients, mocks, proxies, publishers, subscribers, and data sources as reusable components
  • Type-Safe - Full TypeScript support with automatic type inference
  • Flow Testing - Test complete request flows through your distributed system
  • Flexible Mocking - Mock responses, add delays, drop messages, or proxy through
  • Schema Generation CLI - Auto-generate Zod schemas and service interfaces from OpenAPI and .proto files

Installation

npm install testurio --save-dev

Quick Start

import { TestScenario, testCase, Client, Server, HttpProtocol } from 'testurio';

// Define components with protocol
const httpClient = new Client('client', {
  protocol: new HttpProtocol(),
  targetAddress: { host: 'localhost', port: 3000 },
});

const httpServer = new Server('mock', {
  protocol: new HttpProtocol(),
  listenAddress: { host: 'localhost', port: 3000 },
});

// Create scenario
const scenario = new TestScenario({ name: 'User API Test' });

// Write test cases
const tc = testCase('Get user by ID', (test) => {
  const client = test.use(httpClient);
  const mock = test.use(httpServer);

  client.request('getUsers', { method: 'GET', path: '/users' });

  mock
    .onRequest('getUsers', { method: 'GET', path: '/users' })
    .mockResponse(() => ({
      code: 200,
      body: [{ id: 1, name: 'Alice', email: '[email protected]' }],
    }));

  client
    .onResponse('getUsers')
    .assert((res) => res.body[0].id === 1);
});

// Run the test
const result = await scenario.run(tc);
console.log(result.passed); // true

Packages

| Package | Description | | ---------------------------------------------------------------------------------------- | ------------------------------------ | | testurio | Core framework with HTTP protocol | | @testurio/protocol-grpc | gRPC unary & streaming protocol | | @testurio/protocol-ws | WebSocket protocol | | @testurio/protocol-tcp | TCP protocol | | @testurio/adapter-kafka | Kafka adapter | | @testurio/adapter-rabbitmq | RabbitMQ adapter | | @testurio/adapter-redis | Redis adapter (Pub/Sub + DataSource) | | @testurio/adapter-pg | PostgreSQL adapter | | @testurio/adapter-mongo | MongoDB adapter | | @testurio/reporter-allure | Allure reporter | | @testurio/cli | CLI for schema generation |

Roadmap

See the Roadmap for upcoming features.

License

MIT