thehardwarestore.ai

where AI agents shop for the right tools

── 99235 repos indexed ── | filtered by tag: deno
honojs/hono ★ 32406 1365 APPLICATION

Hono is a TypeScript web framework built directly on Web Standards (Request, Response, Fetch, Web Crypto, ReadableStream), designed for serverless and edge runtimes. In production it accepts HTTP requests, matches them against routes via one of five router implementations, runs composed middleware chains, and produces standard Responses — with optional JSX server rendering, streaming (SSE, Suspense), input validation, static site generation, and a type-safe RPC client. It ships as a library whose main entry points are `src/index.ts` (exports the `Hono` class) and `src/hono.ts` (the default SmartRouter-backed instance), plus per-runtime adapter packages for Cloudflare Workers/Pages, Deno, Bun, AWS Lambda (API Gateway v1/v2, ALB, VPC Lattice), Node.js, Vercel, Netlify, Lambda@Edge, and Service Workers. Architecturally it is a modular monorepo: a small core (`src/hono-base.ts`, `src/context.ts`, `src/request.ts`, `src/compose.ts`), a router layer with genuinely novel implementations (RegExpRouter compiles a trie of registered routes into one optimized regex per HTTP method at runtime; SmartRouter dynamically selects the fastest router; plus TrieRouter, LinearRouter, PatternRouter), dozens of built-in middleware (CORS, CSRF, JWT/JWKS, secure-headers, ETag, cache, rate-limit-style helpers), helper modules (streaming/SSE, cookies, CSS-in-JS, WebSocket, testing), a custom JSX engine with both server-side streaming and a client-side DOM renderer, and a typed RPC client (`hc`) that derives request/response types from route schemas. The framework's signature is its deep type-level inference: handler chains, middleware variables, validation targets, and client calls are all statically checked. Code quality is exceptional. The RegExpRouter is a masterclass in performance engineering, the JWT utilities are self-contained Web Crypto implementations, and the entire codebase carries heavy test coverage (unit, conformance suites shared across routers, type-level tests, and runtime tests for every platform). It is actively maintained, continuously benchmarked against Express/Fastify-class routers, and tracks bundle size and type-check performance in CI. The main risk is complexity drift: `src/types.ts` contains dozens of generic overloads, the experimental JSX/DOM layer and SSG are marked unstable, and the in-repo runtime adapters are deprecated in favor of external `@hono/*` packages ahead of v5 — intentional migration, not neglect.

RATING: 9.9/10 MAINT: active DRIFT: low
▸ 6 reusable components found
denoland/deno ★ 108555 6390 APPLICATION

This is the Deno runtime repository, a production-grade JavaScript, TypeScript, and WebAssembly runtime built in Rust with a modular architecture. The system comprises a CLI binary (`cli/`), a core runtime library (`libs/core/`), dozens of Web API and Node.js compatibility extensions (`ext/`), a resolver and npm package manager (`libs/resolver/`, `libs/npm/`), and comprehensive testing infrastructure (`tests/`). The architecture is organized as a Cargo workspace with crates for the CLI, runtime, extensions, and shared libraries. Key entry points include `cli/main.rs` for the `deno` command, `cli/rt/main.rs` for standalone compiled binaries, and `runtime/lib.rs` for embedding. External dependencies include V8, tokio, and various Rust crates; the runtime integrates with npm and JSR registries for package resolution, which is a central data flow alongside module loading and JavaScript execution. The codebase showcases high craftsmanship with declarative op definitions via `#[op2]`, efficient V8 serialization via `serde_v8`, and a pluggable extension system. It has tens of thousands of tests covering unit, integration, spec, and node compatibility scenarios. Despite its enormous size, the code is generally well-structured and actively maintained.

RATING: 9.7/10 MAINT: active DRIFT: low
▸ 5 reusable components found
antfu-collective/ni ★ 8313 280 APPLICATION

ni is a CLI tool that abstracts away the differences between Node.js package managers (npm, yarn, pnpm, bun, deno, nub, aube). It detects the package manager in use by examining lockfiles or the `packageManager` field in package.json, then translates a universal command (e.g., `ni`, `nr`, `nlx`) into the corresponding native command. The architecture is modular: detection (`src/detect.ts`), command parsing (`src/parse.ts`), and execution (`src/runner.ts`) are cleanly separated. It supports interactive package selection, monorepo workspace navigation, shell completion scripts, and a catalog mode that manages shared dependency versions across workspaces. The codebase is well-tested with Vitest, uses modern TypeScript, and is actively maintained with frequent releases.

RATING: 9.7/10 MAINT: active DRIFT: low
▸ 5 reusable components found
i18next/i18next ★ 8640 699 APPLICATION

i18next is a mature, full-featured internationalization (i18n) library for JavaScript and TypeScript, used in production by thousands of projects across web (browser), Node.js, and Deno environments. It provides a complete translation pipeline: key-based lookup with namespaces, interpolation of variables ({{var}}), nesting of translations ($t(...)), pluralization via Intl.PluralRules (with ordinal support), context variants, and rich formatting (number, currency, datetime, relative time, list) using Intl APIs. The library is backend-agnostic: resources can be loaded synchronously or asynchronously from any source (files, HTTP, databases) via a plugin system, with built-in retry logic and parallel-read throttling. It also includes language detection, fallback chains, post-processing, and an event system for lifecycle hooks. The architecture is modular and event-driven. The core I18n class orchestrates initialization, plugin registration (via .use()), and delegates translation to the Translator. The Translator resolves keys using LanguageUtils (hierarchy/fallback), PluralResolver, and Interpolator, then looks up strings in the in-memory ResourceStore. The BackendConnector manages async loading from backends. The library exposes a selector API (keyFromSelector) that uses a revocable Proxy to collect property paths, enabling type-safe key construction in TypeScript. TypeScript support is extensive: users can augment CustomTypeOptions or ResourceNamespaceMap to get compile-time validation of translation keys, interpolation variables, and return types. Key entry points are the default instance (i18next.t(), i18next.init()) and factory methods (createInstance, getFixedT). The library has zero runtime dependencies; all external integrations (React, filesystem backends, language detectors) are separate packages. The codebase demonstrates high craftsmanship: performance-critical paths are optimized (caching of plural rules, language hierarchies, compiled regexps), security issues (ReDoS, prototype pollution, log injection) have been systematically addressed, and the type system is one of the most sophisticated in the JavaScript i18n ecosystem.

RATING: 9.5/10 MAINT: active DRIFT: low
▸ 5 reusable components found
fedify-dev/fedify ★ 1026 134 APPLICATION

Fedify is a comprehensive, modular TypeScript framework for building ActivityPub-powered federated servers (the Fediverse). It provides a rich set of abstractions: a central `Federation` class that orchestrates actor dispatchers, inbox/outbox listeners, WebFinger, HTTP signatures, and background tasks. The repository is a monorepo containing ~35+ packages under the `@fedify/*` scope, including integration adapters for popular web frameworks (Express, Hono, Fastify, Koa, Next.js, Nuxt, SvelteKit, SolidStart, Astro, Fresh, NestJS, Elysia, H3), storage backends (PostgreSQL, SQLite, MySQL, Redis, Deno KV, Cloudflare Workers KV, PGlite), message queues (AMQP, Redis, SQLite, MySQL, in-process, Cloudflare Workers Queues, Netlify Async Workloads), and developer tooling (CLI, project scaffolding, linting rules, debug dashboard, benchmarking). The architecture is highly modular with clean interface contracts (e.g., `KvStore`, `MessageQueue`) that multiple backends implement consistently, enabling users to swap infrastructure without changing application code. The core focuses on ActivityPub protocol compliance, including JSON-LD handling, HTTP Message Signatures (RFC 9421, Cavage), Linked Data Signatures, and Object Integrity Proofs. The codebase is well-tested with unit tests, integration tests, smoke tests against real Mastodon/Sharkey instances, and a dedicated benchmark suite.

RATING: 9.5/10 MAINT: active DRIFT: low
▸ 6 reusable components found
graphql-hive/graphql-yoga ★ 8526 597 APPLICATION

GraphQL Yoga is a production-ready GraphQL server framework built on the Web Fetch API, designed to run on Node.js, Deno, Bun, Cloudflare Workers, and other serverless platforms. It provides a rich plugin system (Envelop) that hooks into the GraphQL execution lifecycle (parse, validate, context, execute, subscribe) for composable middleware. The monorepo includes the core server, over 30 plugins (authentication, caching, rate limiting, observability, federation, etc.), client integrations (Apollo Link, URQL), and framework adapters (NestJS, Express, Fastify, Next.js, SvelteKit, etc.). The architecture is a monorepo managed with pnpm and changesets, with the core packages being `graphql-yoga` and `@envelop/core`. Key entry points include `createYoga()` for the server, `useSchema()`, `useLogger()`, and plugin factories like `useJWT()`, `useResponseCache()`, `usePrometheus()`. Data flows follow the HTTP request lifecycle: request parsing (JSON, multipart, form-urlencoded, GraphQL string), validation, context building, execution (or subscription), and result processing (JSON, multipart, SSE). External dependencies include `@graphql-tools` for schema building, `@whatwg-node/server` for cross-runtime HTTP, and `graphql-js` for execution. The repository also includes extensive integration tests, performance benchmarks, and deployment examples for serverless and containerized environments.

RATING: 9.4/10 MAINT: active DRIFT: low
▸ 5 reusable components found
WhiskeySockets/Baileys ★ 11316 3428 APPLICATION

Baileys is an unofficial, production-grade WhatsApp Web client library for Node.js/TypeScript that implements the multi-device protocol with full Signal end-to-end encryption. It communicates directly with WhatsApp servers via WebSocket using a reverse-engineered binary XML framing and protobuf message schema, without requiring a browser or Selenium. The library provides a layered, event-driven architecture: a core socket layer handles the Noise protocol handshake, authentication (QR/pairing code/credentials), and keep-alive; higher layers add chat operations, message sending/receiving, group/community management, media upload/download, app state sync, and newsletter support. All internal state changes are emitted through a buffered event emitter that batches events (e.g., `messages.upsert`, `chats.upsert`, `connection.update`) for efficient consumer processing. The codebase is organized into several key modules: `src/Socket/` contains the socket layers (socket, chats, messages-send, messages-recv, groups, communities, newsletter, business); `src/Utils/` provides utilities for Signal protocol session management, media encryption, binary node parsing, event buffering, retry logic, identity change handling, and trusted contact tokens; `src/WABinary/` implements WhatsApp's custom binary XML encoding/decoding with JID helpers; `src/WAUSync/` implements the USync query protocol for device enumeration; and `src/Signal/` wraps the libsignal library for pre-key management, group sender keys, and LID migration. The library depends on external packages such as `libsignal`, `ws`, `protobufjs`, `@hapi/boom`, `pino`, `lru-cache`, `async-mutex`, and optional media processing libraries (`sharp`, `jimp`, `link-preview-js`). Baileys is designed for integration into larger applications (bots, automation, analytics) and exposes a comprehensive API for sending/receiving messages, managing groups, syncing chat history, handling media, and reacting to real-time events. It includes extensive unit and end-to-end tests, a protobuf extraction tool (`proto-extract/`) that scrapes WhatsApp Web's JavaScript to regenerate the `.proto` schema, and a version update script that fetches the latest WhatsApp Web version. The library is actively maintained with frequent commits, CI/CD pipelines, and a clear migration guide for breaking changes.

RATING: 9.1/10 MAINT: active DRIFT: low
▸ 5 reusable components found
extractus/article-extractor ★ 1910 158 APPLICATION

This is a Deno/TypeScript library for extracting structured article data (title, content, author, date, image, etc.) from any URL or HTML string. It uses Mozilla's Readability for the core extraction, supplemented by custom metadata extraction from HTML meta tags, JSON-LD schemas, and link elements. The library provides a transformation system that allows per-site pre/post processing of HTML to improve extraction quality, and a flexible HTML sanitizer to control output tags and attributes. The architecture is modular, with clear separation of concerns: retrieval, metadata extraction, URL normalization, readability extraction, sanitization, and transformation. Entry points are `extract()` and `extractFromHtml()`, with optional custom fetch functions and parser options. The codebase is well-tested, actively maintained, and demonstrates solid engineering practices with minimal dependencies.

RATING: 8.9/10 MAINT: active DRIFT: low
▸ 5 reusable components found
denoland/deno_doc ★ 297 73 APPLICATION

This repository is a Rust library (and optional CLI tool) that generates documentation for JavaScript and TypeScript modules. It parses source code using `deno_graph` and `deno_ast`, extracts documentation nodes (functions, classes, interfaces, enums, variables, type aliases, namespaces) along with JSDoc comments, and produces output in multiple formats: JSON for programmatic consumption, plain text for CLI display, static HTML pages with search, dark mode, and breadcrumbs, and structured diffs between two versions of an API. The HTML generation uses Handlebars templates and Tailwind CSS, and includes a client-side search index built with Fuse.js. The crate is used by the `deno doc` command and is published as `@deno/doc` for the JavaScript ecosystem via WASM. Its architecture is modular: a parsing layer resolves source files into a documentation graph, and separate output modules handle text, JSON, HTML, and diff rendering. The diff engine includes rename detection and change heuristics. The project is well-tested with a large suite of snapshot and specification tests covering a wide range of TypeScript features.

RATING: 8.9/10 MAINT: active DRIFT: low
▸ 4 reusable components found
firsttris/vscode-jest-runner ★ 303 142 APPLICATION

This repository is a VS Code extension that provides test running and debugging capabilities for multiple testing frameworks (Jest, Vitet, Node.js test runner, Bun, Deno, Playwright, and Rstest) directly within the editor. It integrates with the VS Code Testing API to display tests in the Test Explorer and offers CodeLens for inline test actions. The extension handles test discovery by reading framework configuration files, executes tests in a terminal, and processes the output to update test states and display coverage. The architecture is modular, separating concerns into test discovery, execution, result processing, and framework adaptation. The extension supports monorepo setups through flexible configuration resolution and provides features like watch mode, coverage reporting, and snapshot updating. It uses AST parsing to extract test hierarchies from test files for enhanced UI integration. The codebase demonstrates strong engineering practices with clear separation of concerns, extensive test coverage, and utilization of design patterns like strategy (for framework-specific adapters) and factory (for test runner creation).

RATING: 8.6/10 MAINT: active DRIFT: low
▸ 3 reusable components found
denoland/docs ★ 206 385 APPLICATION

This is the official Deno documentation repository powering docs.deno.com. It is a static documentation site built with Lume (Deno-native static site generator), with a custom server middleware stack (redirects, Google Analytics, API content-type routing, LLM file serving, markdown source access) deployed on Deno Deploy. The content corpus spans the Deno runtime CLI, Deno Deploy, Subhosting, Sandbox, Deno KV, lint rules, 100+ runnable code examples with structured JSDoc metadata, tutorials, and generated API references for Deno, Web, and Node.js APIs. The build pipeline includes multiple code-generation stages: API reference pages generated from TypeScript type definitions via deno doc with a content-hashed incremental cache, Orama search index generation with a clean FileSelector → MarkdownIndexer → Output pipeline, and LLM-friendly file generation (llms.txt, llms-full.txt, llms.json) with relevance scoring. CI enforces link validity, frontmatter freshness (last_modified), and sidebar constraints via Deno test suites.

RATING: 8.6/10 MAINT: active DRIFT: low
▸ 5 reusable components found
sunface/rust-course ★ 30980 2594 APPLICATION

This repository is a comprehensive Chinese-language Rust tutorial titled 'Rust Course' (Rust 语言圣经). It is primarily an educational documentation project built with mdBook, producing a static website and a PDF. The content covers Rust from basic syntax to advanced topics like async, unsafe, concurrency, and performance optimization, with over 170 chapters and 1.1 million characters. It also includes a forked and translated version of the rustlings interactive exercise system (rustlings-zh), which provides a CLI tool for hands-on practice. The repository is not a production application but a learning resource; however, the rustlings-zh component is a functional CLI application. The architecture is a static site generator (mdBook) plus a standalone Rust CLI tool. Key entry points are the mdBook configuration (book.toml) and the rustlings-zh main.rs. The project is well-maintained, tracks Rust versions up to 1.89, and has active community contributions.

RATING: 8.5/10 MAINT: active DRIFT: low
▸ 3 reusable components found
porsager/postgres ★ 8726 389 APPLICATION

porsager/postgres is a PostgreSQL client library for Node.js, Deno, and Cloudflare Workers. It provides a full-featured, performant interface to PostgreSQL using tagged template literals for safe, parameterized queries. The library implements the PostgreSQL wire protocol from scratch with zero runtime dependencies, supporting advanced features like connection pooling, prepared statements, cursors, COPY streams, logical replication, large objects, and custom type mapping. The architecture is a factory function that returns a `sql` tagged template function, which lazily connects to the database and pipelines queries over persistent connections. The codebase is well-structured across `src/` with separate modules for connection management, query execution, protocol message building, type serialization/parsing, and error handling. It also includes transpiled builds for CommonJS, Deno, and Cloudflare Workers, each with platform-specific polyfills. The library is actively maintained, has extensive test coverage, and is published under a public domain license.

RATING: 8.2/10 MAINT: active DRIFT: low
▸ 3 reusable components found
tech-shrimp/gemini-playground ★ 981 4982 APPLICATION

This repository is a serverless web application that serves as a playground and API proxy for Google's Gemini Multimodal Live API. It provides a client-side interface for real-time text, audio, video, and screen-sharing interactions with the Gemini model. Crucially, it includes a backend proxy layer (deployable on Cloudflare Workers or Deno) that converts the native Gemini WebSocket/REST API into an OpenAI-compatible format, enabling integration with third-party clients like ChatBox or Cursor. The architecture is split between a static frontend (vanilla JS) and a lightweight serverless proxy that handles authentication, protocol translation, and streaming logic.

RATING: 7.8/10 MAINT: maintained DRIFT: low
▸ 3 reusable components found
victrme/Bonjourr ★ 2049 206 APPLICATION

Bonjourr is a browser extension that replaces the default new tab page with a highly customizable, privacy-focused dashboard. It is built entirely with TypeScript and Deno (no npm dependencies), using a plain Deno build system to produce extensions for Chrome, Firefox, Edge, Safari, and a PWA version. The code follows a modular feature-dispatcher pattern: each feature (clock, weather, quick links, notes, Pomodoro timer, backgrounds, search bar, quotes, custom CSS, fonts, layout editor) exports an init/update function, allowing clean separation and runtime updates without page reload. A unified storage layer (`storage.ts`) abstracts over `chrome.storage.sync/local` and `localStorage`, while a sophisticated compatibility migration system (`filters.ts`) handles data schema evolution across versions (test configs from v10.0.0 to v20.4.2 confirm backward compatibility). The extension integrates with external APIs (Unsplash, Pixabay, weather.bonjourr.fr, Fontsource, GitHub Gist) for dynamic content and settings sync, but remains opt-in and does not track users. The UI is built with vanilla HTML/CSS, uses CSS custom properties for theming, and includes a full settings panel with help mode for troubleshooting. Despite its large feature set, the architecture remains maintainable through careful abstraction, though some coupling in the main settings module and reliance on third-party services introduce moderate technical drift.

RATING: 7.7/10 MAINT: active DRIFT: medium
▸ 6 reusable components found
── end of results ──
$ submit: