A lightweight library for matching and replacing strings using glob patterns. Version 0.4.0 provides a rule-based engine with custom asterisk semantics (****, ***, **, *) and expression-based replacements. It supports path parsing, extensible rules, and callbacks. The package is minimal compared to alternatives like glob or fast-glob, offering a unique replacement syntax using {expressions} and glob array indexing. Suitable for build pipelines or custom path transformations. Release cadence is low; appears to be a niche tool maintained on GitHub.
No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
ESM-only; the package does not export a default, use named import
Dynamic import with named import; package is ESM-only
TypeScript types are not exported; use the class directly
Shows basic rule matching: match any path ending in .txt and redirect to backup/ folder preserving path and basename.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.