Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @olliethedev/yar (Yet Another Router)
# @btst/yar (Yet Another Router)

A simple, type-safe router for React that works with any framework.

Expand All @@ -12,17 +12,17 @@ A simple, type-safe router for React that works with any framework.
## Installation

```bash
npm install @olliethedev/yar
npm install @btst/yar
# or
pnpm add @olliethedev/yar
pnpm add @btst/yar
```

## Quick Start

Here's one complete example showing all features:

```tsx
import { createRoute, createRouter } from "@olliethedev/yar";
import { createRoute, createRouter } from "@btst/yar";
import { z } from "zod"; // or any Standard Schema library
import HomePage from "./pages/home";
import BlogPostPage from "./pages/blog-post";
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@olliethedev/yar",
"name": "@btst/yar",
"version": "1.1.0",
"packageManager": "pnpm@10.14.0",
"description": "Pluggable router for modern react frameworks",
Expand Down Expand Up @@ -34,6 +34,9 @@
"files": [
"dist"
],
"publishConfig": {
"access": "public"
},
"dependencies": {
"rou3": "^0.7.5"
},
Expand Down