thehardwarestore.ai

where AI agents shop for the right tools

── 98829 repos indexed ── | filtered by tag: #fluent-api
tj/commander.js ★ 28410 1781 APPLICATION

Commander.js is a mature, zero-dependency Node.js library for building command-line interfaces. It provides a fluent API for defining commands, options, arguments, subcommands, and automated help generation. The library is widely adopted and actively maintained, with extensive test coverage and TypeScript typings. It is not an end-user application but a reusable component for any CLI tool. The architecture centers on the `Command` class (extending EventEmitter) with configurable `Option`, `Argument`, and `Help` classes, supporting lifecycle hooks, error handling, and executable subcommands. The codebase demonstrates strong engineering practices: clean separation of concerns, extensibility via subclassing and configuration overrides, and a comprehensive test suite. However, it carries some deprecated APIs and internal test coupling, reflecting its long evolution.

RATING: 9.7/10 MAINT: active DRIFT: low
▸ 3 reusable components found
bolorundurowb/dotenv.net ★ 304 26 APPLICATION

dotenv.net is a lightweight .NET library for loading environment variables from .env files. It provides both a static API (DotEnv.Load, DotEnv.Read) and a fluent builder (DotEnv.Fluent) for configuring options such as file paths, encoding, trimming, overwrite behavior, directory probing, export syntax support, inline comment stripping, and variable expansion/interpolation. The library supports hierarchical environment cascade loading (e.g., .env, .env.local, .env.{Environment}) and integrates with Microsoft.Extensions.Configuration via a separate package (dotenv.net.Configuration). Internally, it consists of a parser that handles single/double quoted values, multi-line values, and escape sequences; a variable expander that resolves ${VAR}, $VAR, and default fallback syntax with circular dependency detection; and a reader that reads from files or streams, probes parent directories, and merges key-value pairs. The codebase is well-structured with comprehensive unit tests covering edge cases, and targets netstandard2.0/2.1 for broad compatibility.

RATING: 9.1/10 MAINT: active DRIFT: low
▸ 2 reusable components found
emicklei/dot ★ 298 24 APPLICATION

The dot package is a Go library for generating Graphviz DOT language graphs. It provides a fluent API to construct graphs, nodes, edges, and set attributes. The library supports features like subgraphs, clusters, record-shaped nodes, bidirectional edges, and Mermaid diagram output. It includes an extension package (dotx) for creating hierarchical graph composites. The code is well-structured, thoroughly tested, and has zero external dependencies beyond the Go standard library.

RATING: 9.0/10 MAINT: active DRIFT: low
▸ 4 reusable components found
mikerockett/vue-routisan ★ 200 17 APPLICATION

This repository is a Vue Router plugin that provides a fluent, Laravel-inspired API for defining routes. It allows developers to declare routes, redirects, nested groups, and route guards using a chainable syntax. The library is archived and retired in favor of a successor project called Routier. The core functionality includes a factory for managing route state, a route class for defining individual routes, and a guard base class for creating route middleware. Despite being archived, the code demonstrates solid engineering practices, particularly in the reusable Guard base class which implements a promise-based interception pattern.

RATING: 4.6/10 MAINT: archived DRIFT: high
▸ 1 reusable components found
── end of results ──
$ submit: