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

v0.1.0

Published

[![TypeScript](https://img.shields.io/badge/TypeScript-007ACC?logo=typescript&logoColor=white)](https://www.typescriptlang.org/) [![Zero Dependencies](https://img.shields.io/badge/Deps-Zero-00d4aa?logo=checkmarx&logoColor=white)](.) [![License](https://

Readme

🔬 tests2dialects

TypeScript Zero Dependencies License Bun Event Sourcing Proxy

@vibe2founder/one-spec-4-all (Polyglot Tester) — Adoção zero-risco! O framework que unifica diferentes dialetos de TDD e BDD num só lugar e em 1 só runner universal compatível com Jest e Bun!

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


🚀 Como Funciona

Por conta da segregação de times de uma empresa (Cientistas de Dados, DevOps, Produto, Desenvolvedores Node), unificar as nomenclaturas de "testes" é incômodo e doloroso.

O tests2dialects abraça o sistema permitindo multiplos Dialetos no mesmo teste:

  • 📐 Matemático: Axiomas e implicações, focado em provas puras (axiom, proof, implies);
  • 📖 Narrativo: Contexto focado em regras de negócio para Produto (intend, scenario, to_be);
  • 🛡️ Imperativo: Testagem estrita para Contratos e Infra (ensure, verify, check);
  • 🌐 API: Declarações de testes para Requests.
import { ensure, check, that, stub } from "@vibe2founder/one-spec-4-all";

ensure("Minhas Regras API - Dialeto Imperativo", () => {
  const api = stub();
  
  check("Criação de usuários correta", () => {
    that(api.statusCode).is(200);
  });
});

🛠️ Como foi feito

Nosso core foi elaborado na essência Evidence-first. Se um código gera bugs mascarados, não usamos! Todo o mocking gerado internamente não afunda dependências complexas. Nós empoderamos a ponte base do NodeJS e unificamos num mesmo namespace (os4all).

A compatibilidade cross-engine injeta no interpretador global asserções polimórficas. Rodando bun test ou rodando sob npx jest, as chamadas funcionam lado a lado (sendo o código legado totalmente suportado sem fricção e reescritas longas).

  • Os Eventos e Outputs são roteados centralmente mantendo os Relatórios unificados (One-Evidence-4-All).

🧪 Como testar

A ferramenta conta com um runner próprio que delega ações ao motor preferido (Jest/Bun).

  1. Exclusivo para testadores de WSL, certifique-se da tipagem.
  2. Inicie via npx one-spec-4-all (ou alis npx os4all / bun run os4all) passando na raíz dos diretórios do seu código principal.
  3. Não use abstrações mágicas! Seu teste deve criar stub seguro de banco e rotas declaratórias.

Para testar o próprio módulo local: navegue até o repósitorio raiz, use as regras bases de $ wsl bun test, garantindo os comportamentos determinísticos implementados na nossa suite.