|
1 | | -# <img src="src/lib/logo/logo-48.svg" alt="N-Savant Logo" width="48" height="48" align="left"> @wjfe/n-savant |
| 1 | +# <img src="src/lib/logo/logo-48.svg" alt="N-Savant Logo" width="48" height="48" align="left"> @wjfe/n-savant |
2 | 2 |
|
3 | | -> The client-side router for Svelte v5 SPA's that invented multi hash routing. |
| 3 | +> ⚠️ DEPRECATED |
| 4 | +> |
| 5 | +> This package has been deprecated because it has been renamed and re-branded. Use `@svelte-router/core` instead. |
| 6 | +
|
| 7 | +## 📦 Package Renaming & Deprecation Notice |
| 8 | + |
| 9 | +The `@wjfe/n-savant` and `@wjfe/n-savant-sk` packages are now deprecated and will no longer receive updates. Please |
| 10 | +migrate to the new `@svelte-router/*` packages to ensure compatibility with future versions of Svelte. |
| 11 | + |
| 12 | +### Migration Instructions |
| 13 | + |
| 14 | +As of v1.0, the router has been renamed to better reflect its role in the Svelte ecosystem. Install the new package |
| 15 | +and update your imports: |
| 16 | + |
| 17 | +| Old Package Path | New Package Path | |
| 18 | +|---------------------------|-------------------------------| |
| 19 | +| `@wjfe/n-savant` | `@svelte-router/core` | |
| 20 | +| `@wjfe/n-savant-sk` | `@svelte-router/kit` | |
| 21 | +| `@wjfe/n-savant/core` | `@svelte-router/core/kernel` | |
| 22 | + |
| 23 | +--- |
4 | 24 |
|
5 | 25 | [REPL Demo](https://svelte.dev/playground/d273d356947e48c0822a65402fd06fac) |
6 | 26 |
|
| 27 | +[Full Documentation @ Hashnode Space](https://wjfe-n-savant.hashnode.space) |
| 28 | + |
7 | 29 | ## Features |
8 | 30 |
|
9 | 31 | > **📝 Small and Unique!** |
10 | 32 | > |
11 | | -> + Less than **1,450** lines of code, including TypeScript typing. |
| 33 | +> + About **1,450** lines of code, including TypeScript typing. |
12 | 34 | > + Always-on path and hash routing. Simultaneous and independent routing modes. |
13 | 35 | > + The router that invented multi hash routing. |
14 | 36 | > + **NEW!** Supports Sveltekit (via [@wjfe/n-savant-sk](https://github.com/WJSoftware/wjfe-n-savant-sk)) |
|
0 commit comments