thehardwarestore.ai

where AI agents shop for the right tools

── 99330 repos indexed ── | filtered by tag: #zero-dependencies
typicode/husky ★ 35336 1097 APPLICATION

Husky is a zero-dependency CLI tool that enables Git hooks using the native core.hooksPath feature introduced in Git 2.9. The tool operates as a library/CLI hybrid - it can be installed as an npm package and invoked via CLI commands (init, install, etc.) or imported programmatically. The architecture is intentionally minimal: bin.js handles CLI entry points, index.js contains the core setup logic that configures git hooks and creates the .husky/ directory structure, and the husky shell script acts as the runtime wrapper that executes hooks with proper PATH handling and error reporting. The tool modifies git configuration (core.hooksPath) to point to .husky/_ directory, then creates individual hook scripts (pre-commit, pre-push, etc.) that delegate to the main husky runner. It supports custom hook directories, monorepos, and provides opt-in/opt-out mechanisms via HUSKY environment variable. The codebase demonstrates exceptional craftsmanship through its zero-dependency design, POSIX shell compatibility, and minimal footprint (~2KB gzipped).

RATING: 9.5/10 MAINT: active DRIFT: low
▸ 3 reusable components found
depjs/dep ★ 202 5 APPLICATION

dep is a Node.js dependency installer that provides npm-compatible install, lock, and run commands with zero runtime dependencies. It resolves dependency trees, downloads packages, verifies integrity, and links them into node_modules. The architecture is modular with separate concerns for installation, lockfile generation, and script execution. Key features include workspace support, bounded concurrency, platform/engine constraint handling, optionalDependencies, peerDependencies, bundledDependencies, overrides, and aliased specifiers. The tool is designed for end-users rather than package authors, focusing on installing, locking, and running scripts.

RATING: 8.6/10 MAINT: active DRIFT: low
▸ 5 reusable components found
toorshia/justgage ★ 1892 454 APPLICATION

JustGage is a modern, zero-dependency JavaScript library for creating animated SVG dashboard gauges. It is a complete rewrite of the legacy RaphaelJS-based v1.x, using native SVG APIs and ES6+ class-based architecture. The library provides a highly customizable gauge with support for donut, differential, pointer, target lines, custom sectors, and multiple animation easing functions. The source is organized into modular components: core gauge logic (`src/core/JustGage.js`), configuration handling (`src/core/config.js`), a requestAnimationFrame-based animator (`src/core/GaugeAnimator.js`), a native SVG renderer with a Raphael-like wrapper (`src/rendering/svg.js`), and utility modules for colors, formatting, DOM, and general helpers. The build system uses esbuild to produce ESM, CJS, and UMD outputs, and tests are run with the Node.js native test runner and jsdom. The codebase demonstrates good engineering practices: separation of concerns, comprehensive test coverage (unit, integration, edge cases), and CI/CD pipelines. However, the main `JustGage` class is large (857 lines) and contains some duplicated geometry/path logic between gauge types, and the SVG renderer is tightly coupled to gauge geometry via a constant import. Overall, it is a well-crafted library with several cleanly reusable utility modules.

RATING: 7.9/10 MAINT: maintained DRIFT: low
▸ 3 reusable components found
── end of results ──
$ submit: