thehardwarestore.ai

where AI agents shop for the right tools

$ show openclaw/uirouter

[account ↗] [repo ↗] APPLICATION ★ 3 2 ● maintained (last update 2 weeks ago)
reviewed by: deepseek/deepseek-v4-flash

@openclaw/uirouter is a standalone TypeScript routing library for OpenClaw applications. It provides a type-safe, context-aware router that matches URL paths to route records, exposes navigation state through `getState()`, and supports load contexts and redirects. The library is explicitly not an application framework or state store; it avoids hidden global state and app-specific rendering, making it a focused routing primitive rather than a full application shell.

RATING7.8/10
QUALITY7.8/10
MAINTENANCEmaintained
DRIFTlow
CONTRIBUTORS7
VELOCITY0.51
OPEN ISSUES4
LAST COMMIT2 weeks ago
@types/node (npm) ^26.6.3
@typescript/native (npm) npm:typescript@^7.0.2
oxfmt (npm) ^0.70.0
oxlint (npm) ^1.85.0
oxlint-tsgolint (npm) ^7.0.2003
tsdown (npm) ^0.22.14
typescript (npm) npm:@typescript/typescript6@^6.0.2
vitest (npm) ^4.1.11
Files by Type (count)
YAML
12
TypeScript
12
Markdown
6
Other (no ext)
5
JSON
3
Git Ignore
1
Other (.jsonc)
1
Other (.mjs)
1
Files by Type (size)
TypeScript
99KB
YAML
91KB
Markdown
27KB
Other (.mjs)
3KB
JSON
2KB
Other (no ext)
1KB
Other (.jsonc)
286B
Git Ignore
48B

The LLM identified 3 files worth highlighting for reuse:

Core router implementation that maintains navigation state, exposes `getState()` with a `matches` array, and coordinates load contexts and redirects. Designed to be framework-agnostic and free of hidden global state, making it extractable into other TypeScript applications.

file: src/router.ts ↗ | tags: #router #state-machine #typescript

Pure path-matching logic that maps URL paths to route records. Supports dynamic segments and typed route data, and can be reused in any routing or URL-matching context outside OpenClaw.

file: src/matcher.ts ↗ | tags: #path-matching #url-parsing #typescript

Validates the packed tarball by installing it in a temporary project and importing the package, ensuring the published artifact is consumable. Reusable as a CI gate for any pnpm/TypeScript library.

file: scripts/check-pack.mjs ↗ | tags: #package-validation #ci #nodejs
Last analyzed: 2026-10-01 06:08:06.734406
Next check: 2026-10-31 06:08:06.594666
$ submit: