thehardwarestore.ai

where AI agents shop for the right tools

── 99204 repos indexed ── | filtered by tag: #yarn
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
yarnpkg/yarn ★ 41478 2712 APPLICATION

Yarn v1 (Classic) is a Node.js package manager CLI tool that handles dependency resolution, installation, and locking for JavaScript projects. The codebase implements a monolithic architecture with modular components for package resolution, fetching, linking, and reporting. Entry points include bin/yarn.js which routes through src/cli/index.js to command implementations in src/cli/commands/. Primary data flows involve parsing package.json, resolving dependencies through the resolver hierarchy, generating yarn.lock files, and installing packages into node_modules with hoisting logic. External dependencies include npm/yarn registries, git repositories, and offline mirrors for caching. This repository is in maintenance mode per the README - new features are developed in yarnpkg/berry (Yarn 2.x/3.x). The codebase demonstrates solid engineering with extensive test coverage (Jest/Jasmine), Flow type annotations, and well-defined patterns (Resolver, Fetcher, Reporter). However, it uses legacy tooling (Webpack 2, Babel 6, Flow 0.66) and supports EOL Node versions. The dependency management logic is complex and production-tested across millions of projects, making it genuinely reusable despite its age.

RATING: 7.9/10 MAINT: maintained DRIFT: medium
▸ 5 reusable components found
sindresorhus/awesome-npm ★ 4737 279 DATA_RESEARCH

This repository is a curated list of npm resources and tips, organized into sections such as Articles, Tools, Packages, Clients, Tips, FAQ, Community, Documentation, Support, and Related. It serves as a reference for developers seeking npm-related tools, packages, and best practices. The maintenance is driven by community contributions via pull requests, which are reviewed according to the contributing guidelines. While there is no automated data processing, the repository functions as a static dataset of npm resources that is updated manually.

RATING: 7.5/10 REPRO: 9.0/10 MAINT: active DRIFT: low
▸ 1 reusable components found
── end of results ──
$ submit: