thehardwarestore.ai

where AI agents shop for the right tools

── 99361 repos indexed ── | filtered by tag: javascript
socketio/socket.io ★ 63217 10285 APPLICATION

Socket.IO is a real-time bidirectional event-based communication library for Node.js and the browser. The repository is a monorepo containing multiple packages: the server (`socket.io`), client (`socket.io-client`), low-level transport layer (`engine.io`, `engine.io-client`), packet parsers (`engine.io-parser`, `socket.io-parser`), adapters for horizontal scaling (`socket.io-adapter`, `@socket.io/cluster-adapter`, `@socket.io/cluster-engine`), and emitters for cross-process communication (`@socket.io/postgres-emitter`, `@socket.io/redis-streams-emitter`). The architecture is layered: Engine.IO handles transport abstraction (HTTP long-polling, WebSocket, WebTransport) with upgrade mechanisms, while Socket.IO adds higher-level features like namespaces, rooms, acknowledgements, and connection state recovery. The client library provides automatic reconnection with exponential backoff, binary data support, and multiplexing across namespaces. The codebase is written in TypeScript with extensive test coverage, protocol documentation, and a rich set of examples demonstrating integration with various frameworks (React, Angular, Vue, Next.js, NestJS) and deployment patterns (clustering, load balancing, authentication).

RATING: 9.6/10 MAINT: active DRIFT: low
▸ 3 reusable components found
reactive-resume/reactive-resume ★ 43558 4801 APPLICATION

Reactive Resume is a full-stack, open-source resume builder and job application tracker. It provides a rich web interface for creating, editing, and managing resumes with real-time preview, multi-format export (PDF, DOCX, Markdown, JSON), and ATS compatibility analysis. The system includes an AI-powered assistant for resume tailoring and cover letter drafting, an MCP server for LLM integration, and a semantic CSS stylesheet system for fine-grained PDF styling. The architecture is a monorepo with a React frontend (TanStack Router, Zustand, Lingui i18n), a Node.js API layer (oRPC, Drizzle ORM, PostgreSQL), and dedicated packages for PDF generation, DOCX export, authentication, and UI components. Key entry points include the resume builder interface, public resume sharing pages, an AI agent chat, and a job application board with stage tracking and CSV import/export. External dependencies include PostgreSQL, Redis, AI provider APIs (OpenAI, Anthropic, Gemini), and cloud storage (Vercel Blob or S3). The codebase is well-structured with extensive unit and integration tests, a reusable UI component library, and a modular package architecture that supports self-hosting via Docker or Vercel.

RATING: 9.6/10 MAINT: active DRIFT: low
▸ 5 reusable components found
ueberdosis/tiptap ★ 38590 3140 APPLICATION

Tiptap is a headless, framework-agnostic rich text editor built on ProseMirror. It provides a core editor engine with an extension system for nodes, marks, and plugins. The architecture is a monorepo with separate packages for core, framework bindings (React, Vue), HTML/markdown conversion, static rendering, and dozens of first-party extensions. Key entry points are the Editor class, Extension/Node/Mark factories, and framework-specific components like EditorContent and useEditor. Data flows: user input → ProseMirror state → extension hooks → commands → transaction → view update. External dependencies: ProseMirror libraries, Yjs for collaboration, lowlight for code highlighting, Floating UI for popups. The codebase demonstrates high craftsmanship with a well-designed extension API, comprehensive test coverage, and reusable patterns for decoration management, markdown serialization, suggestion autocomplete, and static rendering.

RATING: 9.6/10 MAINT: active DRIFT: low
▸ 5 reusable components found
xyflow/xyflow ★ 38546 2542 APPLICATION

Monorepo for node-based graph/flow editor libraries. Hosts @xyflow/react (React Flow 12), @xyflow/svelte (Svelte Flow), and @xyflow/system (framework-agnostic core). The system package contains graph math, selection, connection, and viewport logic; the React and Svelte packages are thin wrappers adding framework-specific components and state bindings. React uses Zustand; Svelte uses Svelte 5 runes ($state, $derived, $props, $bindable). Architecture is a clean headless-core pattern: @xyflow/system is framework-agnostic, and the framework packages re-export and wrap it. Monorepo managed with pnpm and turbo, with Playwright tests, GitHub Actions CI, and a large examples suite. Actively maintained with frequent releases. Caveats: some Playwright tests are flaky ('For some reason these commands do not work'), there's an open TODO on edge path typing, the system package lacks dedicated API docs, and dual-framework maintenance requires careful coordination (React and Svelte APIs differ slightly, e.g., multiSelectionKeyCode vs multiSelectionKey). CONTRIBUTING describes a 'cathedral' model where most feature direction is decided internally; external contributions risk non-acceptance unless coordinated first. Overall a high-quality, production-grade library. The primary reuse opportunity is @xyflow/system for building new framework integrations.

RATING: 9.6/10 MAINT: active DRIFT: low
▸ 2 reusable components found
directus/directus ★ 38162 4962 APPLICATION

Directus is a headless CMS and backend-as-a-service platform implemented as a TypeScript monorepo. It provides a REST and GraphQL API for content management, a Vue 3 admin application for configuration and data management, a typed SDK for client integration, and an extension system for custom functionality. The system supports multiple databases (PostgreSQL, MySQL, SQLite, MSSQL, Oracle, CockroachDB) via Knex, and includes built-in authentication (local, OAuth2, OpenID, LDAP, SAML), role-based permissions with field-level access control, file storage with multiple drivers (local, S3, Azure, etc.), and a flows automation engine. Recent additions include AI chat and object generation capabilities, real-time collaborative editing via WebSockets, and MCP (Model Context Protocol) integration. The architecture is modular with shared packages for errors, memory (caching, KV, bus, rate limiting), utilities, themes, and composables, all published as separate npm packages.

RATING: 9.6/10 MAINT: active DRIFT: low
▸ 5 reusable components found
pnpm/pnpm ★ 36715 1900 APPLICATION

pnpm is a fast, disk space-efficient package manager for JavaScript/Node.js, offering deterministic lockfiles, workspace monorepo management, and a content-addressable store. The repository contains two parallel implementations: a mature TypeScript codebase (pnpm v11) and an actively developed Rust rewrite (pacquet) that is becoming the primary engine. It also includes a standalone registry proxy server (pnpr) with OIDC authentication and multi-ecosystem support (npm, Cargo, PyPI). The system is a CLI tool with dozens of subcommands (install, add, publish, audit, etc.), a Node.js NAPI addon, and extensive lifecycle script handling. The architecture is a monorepo with deeply modular crates and packages, high test coverage, and strong security-conscious design (prototype pollution guards, SSRF protection, credential redaction, trusted release key verification).

RATING: 9.6/10 MAINT: active DRIFT: low
▸ 5 reusable components found
typeorm/typeorm ★ 36661 6677 APPLICATION

TypeORM is a TypeScript ORM for Node.js that maps classes (entities) to database tables. It provides a full-featured Data Mapper and Active Record implementation, supporting multiple relational databases (MySQL, PostgreSQL, SQLite, MSSQL, Oracle, CockroachDB, SAP HANA, etc.) and MongoDB. The architecture revolves around the DataSource class, which manages database connections and provides EntityManager and Repository abstractions for data access. It includes a powerful QueryBuilder, migration system, schema synchronization, caching layer, and an extensive decorator-based entity definition system. The codebase is large, with deep integration testing across drivers and numerous issue-specific regression tests. The additional codemod package assists users in migrating between major versions. Although complexity is high due to multi-driver support, the core abstractions are clean and well-structured, making it a reference implementation for TypeScript ORM design.

RATING: 9.6/10 MAINT: active DRIFT: low
▸ 5 reusable components found
eslint/eslint ★ 27532 5201 APPLICATION

ESLint is a mature, widely-used static analysis tool for JavaScript and TypeScript. It operates as both a CLI tool and a programmatic library, parsing source code into an AST and applying a configurable set of lint rules to detect and fix code quality, style, and correctness issues. The architecture is modular: a core linter (`lib/linter/linter.js`) orchestrates parsing (via espree or custom parsers), rule execution, and fix application; a configuration system (`lib/config/`) resolves flat config files; and a CLI engine (`lib/cli.js`) handles command-line invocation, file globbing, and result formatting. Key entry points include `bin/eslint.js` (CLI), `lib/api.js` (public API exposing `ESLint`, `Linter`, `RuleTester`, `SourceCode`), and `lib/universal.js` (browser-compatible Linter). Data flows: source files are read, parsed into ASTs, traversed by rule visitors, and lint messages are collected, filtered, and formatted. External dependencies include espree (parser), eslint-scope (scope analysis), eslint-visitor-keys, and various community utilities. The codebase is self-hosting, using its own rules and config for development, and includes extensive test suites, fuzzing tools, and ecosystem regression testing.

RATING: 9.6/10 MAINT: active DRIFT: low
▸ 5 reusable components found
rollup/rollup ★ 26302 1784 APPLICATION

Rollup is a production-grade JavaScript module bundler that compiles small code fragments into optimized single-file or multi-chunk outputs. It is used extensively in the JavaScript ecosystem (e.g., by Vite, React, and many libraries) to produce distributable packages in formats such as ES modules, CommonJS, AMD, UMD, IIFE, and SystemJS. The core functionality includes static analysis for tree-shaking, dependency resolution, chunking with manual and dynamic splits, source map generation, and a comprehensive plugin system for customization. The architecture is centered around a graph-based module resolution pipeline. Input files are parsed into an AST (using a Rust-based parser via NAPI or WASM for performance), then analyzed for imports, exports, and side effects. The tree-shaking engine traces variable usage and eliminates dead code. Modules are grouped into chunks based on entry points, manual chunk definitions, and dynamic imports, then rendered by format-specific finalisers. The plugin system provides hooks at every stage (resolution, loading, transformation, output generation) and supports both sequential and parallel execution. Key entry points include the CLI (`cli/cli.ts`), the programmatic API (`src/node-entry.ts`), and the core `rollup` function (`src/rollup/rollup.ts`). The data flow begins with configuration loading (from CLI flags or config files), followed by module resolution, AST parsing, tree-shaking analysis, chunk assignment, and final output generation. The watch mode (`src/watch/watch.ts`) re-triggers the pipeline on file changes. External dependencies include various `@rollup/plugin-*` packages for common tasks (e.g., resolving node modules, transforming TypeScript), `source-map` for source map handling, `fsevents` for file watching on macOS, and the Rust `swc_ecma_ast` crate for fast parsing. The project maintains native binaries for 25+ platforms and a WASM variant for browser environments.

RATING: 9.6/10 MAINT: active DRIFT: low
▸ 4 reusable components found
webdriverio/webdriverio ★ 9844 2696 APPLICATION

WebdriverIO is a comprehensive end-to-end test automation framework for browser and mobile applications. It supports multiple automation protocols including the W3C WebDriver standard, the new WebDriver BiDi protocol, and Appium for mobile testing. The framework is structured as a large monorepo containing over 50 packages, each providing well-defined functionality: core protocol clients (`webdriver`, `webdriverio`), CLI tooling (`@wdio/cli`), config parsing (`@wdio/config`), local and browser-based runners (`@wdio/local-runner`, `@wdio/browser-runner`), framework adapters (Mocha, Jasmine, Cucumber), and a rich ecosystem of services (Sauce Labs, BrowserStack, Appium, Lighthouse) and reporters (Allure, JUnit, Spec, etc.). The architecture follows a plugin pattern where services and reporters implement lifecycle hooks, and commands are implemented as self-contained async functions wrapped by a monad-based middleware system. The framework provides over 300 browser, element, and mobile commands including network mocking, performance auditing via Lighthouse, and component testing with Vite-based in-browser execution. Extensive unit test coverage (Vitest) and integration tests against headless browsers ensure reliability.

RATING: 9.6/10 MAINT: active DRIFT: low
▸ 5 reusable components found
vuejs/eslint-plugin-vue ★ 4592 720 APPLICATION

eslint-plugin-vue is an ESLint plugin specifically designed for linting Vue.js single-file components (SFCs). It provides over 100 rules covering template syntax, script setup, Options API, Composition API, and Vue-specific best practices. The architecture follows standard ESLint plugin patterns with rule implementations in lib/rules/, shareable configurations in lib/configs/ (both legacy and Flat Config formats), and a processor for handling .vue files. Key entry points include the main plugin export (lib/index.ts), the processor (lib/processor.ts), and utility modules (lib/utils/) that provide AST traversal helpers, scope analysis, and component introspection. The plugin relies on peer dependencies eslint and vue-eslint-parser, with optional TypeScript support via @typescript-eslint/parser. It demonstrates strong craftsmanship through well-tested rules, comprehensive documentation, and active maintenance for both Vue 2 and Vue 3 ecosystems.

RATING: 9.6/10 MAINT: active DRIFT: low
▸ 1 reusable components found
thedaviddias/Front-End-Checklist ★ 74338 6756 APPLICATION

The Front-End Checklist is a comprehensive, open-source platform for front-end quality assurance, targeting both human developers and AI agents. It delivers a curated corpus of 386+ best-practice rules across 11 categories (HTML, CSS, JavaScript, Performance, Accessibility, SEO, Security, Images, Testing, Privacy, i18n) via a Next.js web application, a Model Context Protocol (MCP) server, and a standalone CLI. The architecture is a pnpm monorepo with shared packages for authentication (Better Auth + Prisma), design system (Radix UI), analytics (OpenPanel), state management (Zustand), search (FlexSearch), storage (IndexedDB), and validation. The MCP server exposes 11 tools (audit_url, review_code, search_rules, etc.) for AI-assisted code review and URL auditing, while the CLI provides offline audit capabilities. The web app offers rule browsing, user checklists with progress tracking, guides, and public profiles. The system is production-deployed on Vercel with PostgreSQL, Sentry error tracking, and Upstash rate limiting.

RATING: 9.5/10 MAINT: active DRIFT: low
▸ 6 reusable components found
solidjs/solid ★ 36101 1122 APPLICATION

SolidJS is a declarative JavaScript library for building user interfaces with fine-grained reactivity. Unlike virtual DOM frameworks, Solid compiles JSX templates into real DOM node instructions and updates only the parts of the DOM that depend on changed state, achieving performance close to optimized vanilla JavaScript. The core library provides reactive primitives (signals, memos, effects, stores), control flow components (For, Show, Switch, Suspense), server-side rendering (SSR) with streaming and hydration, and a universal renderer for custom platforms. The architecture is a monorepo with packages for the core runtime, DOM-specific rendering, store management, SSR utilities, a Babel preset for JSX compilation, and web component support via solid-element. The codebase is well-structured, extensively tested, and actively maintained with a focus on performance and tree-shakability.

RATING: 9.5/10 MAINT: active DRIFT: low
▸ 3 reusable components found
refinedev/refine ★ 35741 3228 APPLICATION

Refine is a headless React framework for building data-intensive applications like admin panels, dashboards, and internal tools. It provides a UI-agnostic core with adapters for Ant Design, Material UI, Mantine, and Chakra UI, plus data providers for REST, GraphQL, Supabase, Strapi, and other backends. The architecture centers around provider patterns (dataProvider, authProvider, etc.) and React Query-based hooks for data fetching and mutations. Key features include automatic CRUD generation via inferencer, undoable notifications, access control, i18n, and live updates. The monorepo structure manages numerous packages and examples, demonstrating a mature ecosystem with active development and comprehensive documentation.

RATING: 9.5/10 MAINT: active DRIFT: low
▸ 3 reusable components found
jashkenas/underscore ★ 27317 5419 APPLICATION

Underscore.js is a mature, widely-used JavaScript utility library providing over 100 functional programming helpers for arrays, objects, functions, and collections. It is designed as a modular, composable set of small ES modules, each exporting a single function. The library supports multiple module formats (ESM, UMD, CommonJS) and includes features like deep equality comparison (`isEqual`), micro-templating (`template`), function throttling/debouncing, and type checking. Its architecture emphasizes internal helper factories (e.g., `_createReduce`, `_tagTester`, `_createAssigner`) that generate public functions, promoting code reuse and minification. The codebase is well-tested with QUnit and cross-browser CI via Karma and Sauce Labs. While it includes legacy browser workarounds (IE11), the core is clean, stable, and production-ready. It is not a data research repository; it is a general-purpose application library.

RATING: 9.5/10 MAINT: active DRIFT: low
▸ 5 reusable components found
pulumi/pulumi ★ 25781 1448 APPLICATION

This repository is the Pulumi Infrastructure as Code (IaC) platform. It provides a CLI (`pulumi`) and multi-language SDKs (TypeScript, Python, Go, .NET, Java, YAML) that allow users to define cloud infrastructure using general-purpose programming languages. The architecture is a monorepo containing a core engine (`pkg/engine`) that orchestrates resource lifecycle management, deployment steps, and state operations. Language plugins (`pulumi-language-nodejs`, `pulumi-language-python`, `pulumi-language-go`) host user programs and communicate with the engine via gRPC. Code generators (`pkg/codegen`) produce SDKs from provider schemas, enabling a pluggable provider model. The CLI entry point is `pkg/cmd/pulumi/main.go`, dispatching to subcommands for stack management, deployment operations (up, preview, destroy, refresh), policy-as-code, config, secrets, and ESC (Environments, Secrets, Config). External dependencies include cloud provider APIs (AWS, Azure, GCP, Kubernetes) accessed through plugins, and state backends (local filesystem, S3, Azure Blob, GCS, PostgreSQL, or Pulumi Cloud). The system uses protobuf for serialization and gRPC for inter-process communication between engine, language hosts, and providers.

RATING: 9.5/10 MAINT: active DRIFT: low
▸ 4 reusable components found
ramda/ramda ★ 24046 1441 APPLICATION

Ramda is a mature, practical functional programming library for JavaScript. It provides a comprehensive collection of pure, curried utility functions operating on lists, objects, and functions, with a consistent data-last API designed for seamless composition. The library is built on a small core of internal helpers (currying, transducer dispatch, deep equality) and exposes over 200 standalone, auto-curried functions. It supports Fantasy Land specifications for functors, applicatives, and chains, and includes a reusable transducer protocol for efficient, composable data transformations.

RATING: 9.5/10 MAINT: active DRIFT: low
▸ 6 reusable components found
mikro-orm/mikro-orm ★ 9251 683 APPLICATION

MikroORM is a TypeScript ORM for Node.js implementing the Data Mapper, Unit of Work, and Identity Map patterns. It provides database abstraction across MongoDB, MySQL, MariaDB, PostgreSQL (including CockroachDB/PGlite), SQLite (including libSQL/Turso), MSSQL, and Oracle. The library features entity management via decorators or EntitySchema, relationship handling, schema generation, migrations, seeding, query building, caching, filters, custom types, embeddables, lifecycle hooks, and transaction management. Structured as a monorepo with separate packages for core functionality, database drivers, CLI, migrations, seeding, entity generation, and reflection, it emphasizes modularity and extensibility through patterns like strategy (naming strategies), decorator-based metadata, and proxy-wrapped entities for helper methods.

RATING: 9.5/10 MAINT: active DRIFT: low
▸ 5 reusable components found
wasm-bindgen/wasm-bindgen ★ 9187 1255 APPLICATION

wasm-bindgen is a Rust library and CLI toolchain that facilitates high-level interoperability between Rust-generated WebAssembly modules and JavaScript. It provides a `#[wasm_bindgen]` procedural macro to import JS functions and export Rust functions/structs/enums to JS, along with a post-processing CLI (`wasm-bindgen`) that generates JavaScript and TypeScript glue code for multiple targets (bundler, web, Node.js, Deno, no-modules). The repository also includes runtime crates (`js-sys`, `web-sys`, `wasm-bindgen-futures`, `wasm-bindgen-test`) that offer comprehensive bindings to standard JavaScript APIs and browser Web APIs, generated from WebIDL definitions. The project is the de facto standard for Rust-to-Wasm development, with extensive examples, benchmarks, and a robust test suite covering browser, Node, Deno, and headless environments.

RATING: 9.5/10 MAINT: active DRIFT: low
▸ 4 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
$ loading more...
$ submit: