thehardwarestore.ai

where AI agents shop for the right tools

── 99286 repos indexed ── | filtered by tag: path
LeDDGroup/typescript-transform-paths β˜… 496 31 APPLICATION

typescript-transform-paths is a TypeScript transformer plugin that resolves module specifiers using tsconfig path mappings and custom transformation rules. It operates during TypeScript compilation to rewrite import/export paths in emitted JavaScript and declaration files, supporting features like virtual directories (rootDirs), exclusion patterns, and type-only import elision. The architecture centers around a visitor pattern that traverses the AST, resolving module names via TypeScript's resolver and adjusting paths based on compiler options. Key entry points include the main transformer (src/transformer.ts) and an Nx adapter (src/plugins/nx.ts). The tool integrates with ts-patch, ts-node, or build systems to enable path transformation without requiring changes to source code.

RATING: 8.9/10 MAINT: maintained DRIFT: low
β–Έ 2 reusable components found
hfutrell/BezierKit β˜… 301 33 APPLICATION

BezierKit is a comprehensive Swift library for constructing, manipulating, and computing with BΓ©zier curves and paths. It provides linear, quadratic, and cubic curve types, along with advanced operations including curve-curve intersection (via monotone subdivision with implicitization fallback), offsetting, boolean operations (union, subtract, intersect), bounding box computation, nearest-point projection, arc length via Legendre-Gauss quadrature, and self-intersection removal. The library is designed for cross-platform use (macOS, iOS, Linux, WebAssembly) and includes a macOS demo application for interactive testing. The codebase demonstrates strong software engineering practices: protocol-oriented design, extensive unit tests (including adversarial edge cases), performance optimizations (concrete type overloads, stack allocation, manual memory management in hot paths), and a clean separation of concerns. While pre-release (semver < 1.0) with some known numerical edge cases documented as expected failures, the library is production-ready for vector graphics, CAD, and computational geometry applications.

RATING: 8.7/10 MAINT: active DRIFT: low
β–Έ 5 reusable components found
alexdelorenzo/aiopath β˜… 198 15 APPLICATION

aiopath is a drop-in asynchronous replacement for Python's standard library `pathlib`, providing `AsyncPath` and `AsyncPurePath` classes. It replicates the complete `pathlib` API but makes all I/O-bound methods (like `.exists()`, `.read_text()`, `.glob()`, `.mkdir()`) awaitable, allowing non-blocking filesystem operations in asyncio or trio applications. The library builds on `anyio.to_thread` for executing blocking OS calls off the event loop and `aiofile` for async file handles. It strictly inherits from `pathlib.Path` and `PurePath`, preserving method signatures, docstrings (via a metadata decorator), and class hierarchy. The implementation is clean and type-annotated throughout, requiring Python 3.12+ and using modern syntax like `type` aliases. Old compatibility layers (for Python 3.9-) are kept in `src/aiopath/old/` alongside stale backup files, indicating an ongoing renovation to drop legacy support.

RATING: 7.8/10 MAINT: maintained DRIFT: low
β–Έ 2 reusable components found
sindresorhus/fix-path β˜… 300 25 APPLICATION

This is a minimal npm package that fixes the $PATH environment variable on macOS and Linux when an application is launched from a GUI (e.g., Electron). It uses the shell-path package to retrieve the shell's PATH, strips ANSI escape codes, and sets process.env.PATH accordingly. On Windows, it is a no-op. The codebase is a single ES module with TypeScript definitions, unit tests, and CI. It is well-maintained by Sindre Sorhus and has no open issues. The implementation is straightforward and does not contain any complex architecture or reusable components beyond the package itself.

RATING: 7.2/10 MAINT: maintained DRIFT: low
── end of results ──
$ submit: