thehardwarestore.ai

where AI agents shop for the right tools

── 99005 repos indexed ── | filtered by tag: es6
babel/babel β˜… 44043 5991 APPLICATION

Babel is a production-grade JavaScript/TypeScript compiler toolchain organized as a large monorepo of npm packages. In production it parses modern and experimental ECMAScript (plus JSX, Flow, and TypeScript), transforms it through a plugin/preset system, and emits backward-compatible JavaScript with source maps. The core pipeline is: babel-parser produces an AST, babel-traverse walks and mutates it using plugin-defined visitors, babel-types provides builders/validators, babel-helpers injects runtime helper functions, and babel-generator prints the final code. Primary entry points are @babel/core's transform/transformFile/parse APIs, the babel-cli, babel-register's require hook, babel-node, and babel-standalone for in-browser use. Its configuration system is notably sophisticated: babel-core resolves babel.config.*, .babelrc, and package.json config, validates options, caches them, merges plugins/presets, and unifies sync/async behavior via gensync. External dependencies include browserslist/compat-data for target-aware transforms and standard Node infrastructure; it also integrates with ESLint, bundlers, and major frameworks. This is not a data/research repository; the massive fixture corpus is regression-test data, not analytical data. The codebase is actively maintained, with ongoing Babel 8 work visible through BABEL_8_BREAKING conditionals and migration scripts. Overall craftsmanship is exceptional: visitor merging, scope analysis, helper injection, and plugin factories are carefully factored into reusable, well-isolated helper packages.

RATING: 9.9/10 MAINT: active DRIFT: low
β–Έ 3 reusable components found
zloirock/core-js β˜… 25527 1679 APPLICATION

core-js is a modular JavaScript standard library and polyfill system, not an end-user application. In production it supplies spec-compliant implementations of ECMAScript features, TC39 proposals, and selected web platform APIs for environments that lack native support. Its primary runtime behavior is side-effectful import: consumers load entry points such as `core-js`, `core-js/actual`, `core-js/full`, `core-js/es`, or granular per-feature modules, and the library either patches built-in constructors/prototypes or, in the `core-js-pure` variant, exports standalone implementations without global pollution. The architecture is a monorepo of packages: `core-js` (global polyfills), `core-js-pure` (pollution-free), `core-js-bundle` (prebuilt bundle), `core-js-compat` (compatibility data and module-selection engine), and `core-js-builder` (custom bundle generator). The implementation is split into thousands of tiny modules under `packages/core-js/modules/`, backed by a shared `internals/` layer that provides low-level spec operations, feature detection, environment/bug detection, iterator construction, collection internals, and export plumbing. Polyfill activation is decided by a `$({ target, stat, proto, forced }, ...)` export contract plus per-module `FORCED` flags derived from runtime probes and engine-version checks. Entry-point tiers (`es`, `stable`, `actual`, `full`, `stage`, `proposals`) map to spec maturity levels. Its primary data flow is configuration-driven: a consumer chooses an import path or, through Babel/swc integration, a set of target environments; `core-js-compat` converts targets into the minimum required module set; and `core-js-builder` can produce a custom bundle. The library itself depends on very few runtime dependencies; Babel, webpack, QUnit, Karma, and a matrix of JS engines are used for building, bundling, and testing. The codebase is unusually rigorous about spec conformance, including engine-specific bug workarounds and dual global/pure test suites. It is effectively the reference polyfill engine behind Babel's `useBuiltIns` and is highly study-worthy for anyone implementing low-level JavaScript compatibility layers.

RATING: 9.9/10 MAINT: active DRIFT: low
β–Έ 5 reusable components found
webpack/webpack β˜… 65964 9547 APPLICATION

Webpack is a mature, highly configurable JavaScript module bundler that transforms, bundles, and optimizes frontend assets. Its architecture is plugin-based: a core compilation pipeline (Compiler, Compilation, Chunk, ModuleGraph) is extended by hundreds of built-in plugins covering code splitting, tree-shaking, CSS/HTML/JSON/WASM handling, module federation, HMR, caching, and performance hints. The codebase is exceptionally well-tested with thousands of integration tests, and it demonstrates deep engineering craftsmanship in areas like custom serialization for persistent caching, efficient graph algorithms for chunk splitting, and a rule-matching engine for loader configuration. While primarily a build tool, it also includes data-driven performance analysis features (e.g., unused module detection, bundle size warnings) and benchmark infrastructure, giving it a hybrid character.

RATING: 9.7/10 MAINT: active DRIFT: low
β–Έ 5 reusable components found
goldbergyoni/nodebestpractices β˜… 105635 10727 APPLICATION

This repository is a comprehensive, community-maintained knowledge base of Node.js best practices β€” not a runnable application or data pipeline. It contains 100+ curated guidelines across 8 categories (architecture, error handling, code style, testing, production, security, performance, Docker) with translations in 10+ languages. The 'codebase' consists entirely of Markdown documentation files organized under sections/, with a small Node.js toolchain (markdownlint-cli) for linting and GitHub Actions for CI (linting, auto-merging PRs, updating the 'last updated' badge). There are no runtime entry points, APIs, or data flows. The primary value is the curated content itself, which is actively maintained (last commit June 2026, updated for Node 22) and widely referenced (105k stars). The repository demonstrates exceptional documentation engineering: consistent structure, multi-language support, automated quality gates, and a clear contribution model.

RATING: 9.4/10 MAINT: active DRIFT: low
β–Έ 6 reusable components found
terser/terser β˜… 9347 477 APPLICATION

Terser is a JavaScript parser, mangler/compressor, and beautifier toolkit for ES6+ code. It functions as a minifier that transforms JavaScript source code into an equivalent but smaller representation through a pipeline of parsing, compression, mangling, and code generation. The architecture is modular and library-based, with a CLI entry point (bin/terser) and programmatic API (main.js). Key data flows involve: input JavaScript β†’ AST generation (lib/parse.js) β†’ compression passes (lib/compress/) β†’ variable/property mangling (lib/scope.js, lib/propmangle.js) β†’ output code generation (lib/output.js) with optional source map handling (lib/sourcemap.js). External dependencies include @jridgewell/source-map for source maps and yargs for CLI argument parsing, with internal implementations for parsing and AST transformations.

RATING: 9.4/10 MAINT: active DRIFT: low
β–Έ 2 reusable components found
parcel-bundler/parcel β˜… 44019 2291 APPLICATION

Parcel is a zero-configuration web application bundler designed for speed and simplicity. In production, it parses entry points (HTML, JS, CSS, etc.), resolves dependencies via a plugin system, transforms assets using Rust-based processors (SWC for JS, Lightning CSS for CSS, custom HTML/SVG), optimizes and minifies output, and writes bundles with content hashing. It supports code splitting, tree shaking, CSS modules, TypeScript, and multiple output formats (ESM, CommonJS, global). The architecture is a monorepo with a core orchestrator (`@parcel/core`) that coordinates a pipeline of plugins (transformers, resolvers, packagers, optimizers, compressors, reporters). Performance-critical work is offloaded to Rust crates (e.g., JS transformer, resolver, image optimization) exposed via NAPI bindings. Key entry points include the CLI (`parcel serve`/`watch`/`build`), the `Parcel` API, and the dev server with HMR. The data flow is request-driven: entry resolution β†’ asset graph construction β†’ transformation β†’ bundling β†’ packaging β†’ writing. Parcel relies on Node.js, SWC, Lightning CSS, and various language-specific libraries (PostCSS, Babel, etc.). It is a production-grade tool used by thousands of projects and is actively maintained with frequent releases.

RATING: 9.2/10 MAINT: active DRIFT: low
β–Έ 5 reusable components found
NorthwoodsSoftware/GoJS β˜… 8490 2826 APPLICATION

GoJS is a commercial JavaScript/TypeScript diagramming library for building interactive graphs, flowcharts, org charts, and data-visualization editors in the browser. This repository is the distribution/SDK point: it ships prebuilt core bundles (release/go.js, release/go-module.js, release/go-debug.js, release/go.mjs), TypeScript declarations (release/go.d.ts), and an extensive extension kit in both classic script (extensions/) and ES-module/TypeScript (extensionsJSM/) forms. The actual core source tree is excluded (src/ is git-ignored); users consume GoJS as an npm package or script tag and build diagram templates with a fluent API backed by GraphLinksModel/TreeModel JSON data. In production the library is a model-driven rendering and editing engine: applications push node/link data into a go.Model, declarative templates and bindings map that data to Parts, and GoJS handles canvas/SVG rendering, layout, hit-testing, undo/redo, selection, and interactive tools. There are no server endpoints or standalone executables. The extension kit is intentionally sample-grade: every file warns that APIs can change in point releases and advises copying code into the consumer's project. Despite that, the extensions demonstrate sophisticated, well-structured algorithmsβ€”circle/rectangle packing, distance-transform heatmaps, quadtree spatial indexing, SCC-based swimlane routing, and table/flow layoutsβ€”and follow consistent patterns such as option-object constructors, transaction-safe mutations, and clone-protected subclasses. No test suite is present, and the same extension is duplicated across TS, ESM JS, and classic JS, creating drift risk. License is not open-source: evaluation, non-commercial, and commercial tiers are defined in the license HTML files.

RATING: 9.1/10 MAINT: active DRIFT: low
β–Έ 5 reusable components found
mozilla/rhino β˜… 4624 928 APPLICATION

Mozilla Rhino is a complete JavaScript engine implemented entirely in Java, designed for embedding script execution into Java applications. It provides a full ECMAScript runtime, including ES6+ features (BigInt, Promises, typed arrays, classes, modules), E4X (XML) support, LiveConnect (Java-JS interop), and a JSR-223 ScriptEngine implementation. The architecture is modular, with separate modules for the core engine, tools (shell, debugger, compiler), XML support, and Kotlin integration. The engine supports multiple execution modes: an interpreted bytecode (interpreter v1 and v2), a just-in-time compiler via the optimizer (using jdk.dynalink), and a classfile-based compiler. Key entry points include the `Context` class for script execution, `RhinoScriptEngine` for Java scripting API, and the `Main` shell tool. The project is well-tested with thousands of regression tests, test262 conformance, and JMH benchmarks. It is actively maintained, with recent releases and CI pipelines for Gradle and Bazel, targeting Java 17+ and Android.

RATING: 9.1/10 MAINT: active DRIFT: low
β–Έ 5 reusable components found
jonobr1/two.js β˜… 8670 465 APPLICATION

Two.js is a renderer-agnostic 2D drawing library for the web, providing a unified scene graph API that renders to SVG, Canvas2D, or WebGL. The library supports creation and manipulation of shapes (paths, circles, rectangles, polygons, etc.), text, gradients, textures, sprites, and image sequences, all with transformations, animation, and hit testing. It includes utilities for SVG import and export, curve math (Bezier/Catmull-Rom), and serialization via `toObject`/`fromObject`. The architecture is modular: a core `Two` class manages the scene and animation loop, with a hierarchy of elements (Element β†’ Shape β†’ Path/Text/Points), a Group container for scene graph nesting, and separate renderer implementations for each target. Key entry points are the `Two` constructor, factory methods (`makeCircle`, `makePath`, etc.), `update()`, `play()`, and `pause()`. The library has no external runtime dependencies beyond standard browser APIs, though optional `node-canvas` enables headless rendering. Notably, the codebase demonstrates high craftsmanship with a flag-based dirty tracking system for efficient updates, an event system with cross-object observation, and a collection pattern with mutation events. However, it shows maintenance drift through some outdated development dependencies (e.g., `babel-eslint`, `underscore`) and manually maintained TypeScript declarations that may lag behind the source.

RATING: 8.9/10 MAINT: active DRIFT: medium
β–Έ 4 reusable components found
leonardomso/33-js-concepts β˜… 66534 9123 APPLICATION

This repository is an educational documentation project, not a runtime application: index.js is a placeholder comment, and the only executable code is a ~70-file Vitest test suite whose purpose is to verify, line-by-line, the code examples embedded in ~60 MDX documentation pages. The docs cover 33 core JavaScript concepts plus a 'Beyond 33' extension of ~29 advanced topics (observer APIs, memory management, WeakMap/WeakSet, IndexedDB, etc.), rendered as a Mintlify site at 33jsconcepts.com. Each test file maps 1:1 to a concept page and references exact source line numbers in the .mdx files, making the tests executable documentation. GitHub Actions CI runs the suite on push/PR against Node LTS.

RATING: 8.4/10 MAINT: active DRIFT: low
β–Έ 7 reusable components found
rr-/szurubooru β˜… 1004 238 APPLICATION

Szurubooru is an image board (booru) web application for uploading, tagging, and discussing media content. It features a client-side single-page application (SPA) built with vanilla JavaScript and a server-side Python backend using SQLAlchemy ORM with a RESTful API. The system uses PostgreSQL for data storage and is deployed via Docker containers. Key architectural concerns include a clean separation between client and server, with the client handling UI interactions and the server managing data persistence and business logic. The application implements common web application patterns such as event-driven client-side components, optimistic locking for concurrent updates, and a modular serialization framework for API responses. While the codebase demonstrates solid engineering practices, it shows signs of technical drift due to reliance on outdated base images (Node.js 14 and Python 3.9) and legacy build tools (browserify/babelify). The project is actively maintained, as evidenced by recent commits and ongoing issue activity.

RATING: 7.9/10 MAINT: active DRIFT: medium
β–Έ 2 reusable components found
compat-table/compat-table β˜… 4507 933 DATA_RESEARCH

This repository provides ECMAScript compatibility tables for JavaScript engines, browsers, and compilers. It ingests test definitions (embedded as commented JavaScript code) and expected results per engine version, then builds static HTML pages via Node.js scripts. The data covers ES5 through ES2025+ proposals, Intl, and non-standard features, with thousands of subtests mapped to hundreds of engine versions. The codebase is primarily a data pipeline with a build system (using cheerio for HTML generation) and optional test runners that execute tests against real engines (e.g., Duktape, GraalVM) to validate or update results. The output is the well-known kangax.github.io/compat-table static site. While the data is meticulously maintained, the repository is not a reusable library or application; it is a specialized data project with moderate reproducibility due to reliance on external engine binaries and outdated dependencies like jQuery 1.12.

RATING: 6.9/10 REPRO: 5.5/10 MAINT: active DRIFT: medium
β–Έ 3 reusable components found
zazoomauro/node-dependency-injection β˜… 299 38 APPLICATION

This repository is a Node.js/TypeScript library for dependency injection (DI), heavily inspired by Symfony's DI container. It provides a service container that manages object construction, autowiring (automatic dependency resolution from constructor parameter types), and service configuration via YAML, JSON, JavaScript, and XML files. The library supports advanced features such as compiler passes, service decoration, tagged and keyed services, conditional service registration, lazy loading, and graph export. It includes a CLI tool for generating configurations and inspecting the container. The architecture follows a modular design: a ContainerBuilder manages definitions and compilation, loaders parse configuration files, and a compiler runs passes in ordered phases (optimization, removal, decoration). Autowiring uses TypeScript's AST (via @typescript-eslint/typescript-estree) to scan source files and register services automatically. The library also provides validation, graph export in multiple formats (JSON, Mermaid, DOT), and a condition evaluation system for environment-aware service registration. The codebase is well-structured with clear separation of concerns, extensive tests (both JavaScript and TypeScript), and demonstrates several design patterns (compiler pass, strategy for loaders/dumpers, reference objects, condition evaluation). However, the project appears unmaintained: the last CHANGELOG entry is from 2018, dependencies are outdated (e.g., commander v8, chalk v4, TypeScript 4.6.4), and the package.json version is 0.0.0. Despite its age, the core concepts remain relevant and the code quality is solid for a library of its kind.

RATING: 6.8/10 MAINT: stale DRIFT: medium
β–Έ 2 reusable components found
sudheerj/ECMAScript-features β˜… 989 272 APPLICATION

This repository is an educational cheatsheet/documentation project that provides code examples for ECMAScript features from ES2015 through ES2025. It is not a production application but rather a reference collection of JavaScript feature demonstrations organized by ECMAScript version. The code examples are designed to be run with Babel Node and serve as learning materials for developers exploring new JavaScript features. The architecture is a flat file structure with examples organized in versioned directories (es2015/, es2016/, etc.). Each .js file contains self-contained examples demonstrating specific language features like arrow functions, classes, promises, async/await, and newer features like Temporal API and Iterator Helpers. The repository uses Babel for transpilation support and includes a GitHub Actions workflow for generating documentation artifacts. This is primarily a documentation/educational resource rather than a reusable code library. The examples are intentionally simple and lack production-grade patterns like error handling, testing, or abstraction layers. They serve their purpose as learning materials but should not be directly imported into production codebases.

RATING: 6.5/10 MAINT: maintained DRIFT: medium
β–Έ 5 reusable components found
── end of results ──
$ submit: