Scan your whole stack
Are you using @nano_kit/router?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v4.2.2
@nano_kit/router was last scanned on 24 Nov 2026 at version 4.2.2. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 4.2.2 LATEST | 24 Nov 2026 | No rules fired |
| 4.0.0 | 20 Nov 2026 | No rules fired |
| 3.2.5 | 17 Nov 2026 | No rules fired |
| 3.2.4 | 16 Nov 2026 | Not shown |
| 3.2.3 | 16 Nov 2026 | Not shown |
Findings for v4.2.2. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 4.2.2; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
A small and powerful router for @nano_kit/store state manager.
pnpm add @nano_kit/store @nano_kit/router
# or
npm install @nano_kit/store @nano_kit/router
# or
yarn add @nano_kit/store @nano_kit/router
Here is a minimal example demonstrating navigation, routing, and reactive page rendering:
import { effect } from '@nano_kit/store'
import { browserNavigation, router, page, layout, notFound } from '@nano_kit/router'
/* Define your routes */
const routes = {
home: '/',
user: '/users/:id',
userPosts: '/users/:id/posts',
admin: '/admin/*'
}
/* Setup navigation with browser history */
const [$location, navigation] = browserNavigation(routes)
/* Define page components */
const HomePage = () => 'Welcome Home!'
const UserPage = () => `User ID: ${$location().params.id}`
const UserPostsPage = () => `Posts for User: ${$location().params.id}`
const AdminLayout = ($page) => `Admin Layout: ${$page()}`
const AdminPage = () => `Admin Page: ${$location().params.splat || 'dashboard'}`
const NotFoundPage = () => 'Page Not Found'
/* Create router with pages and layouts */
const $page = router($location, [
page('home', HomePage),
page('user', UserPage),
page('posts', UserPostsPage),
layout(AdminLayout, [
page('admin', AdminPage)
]),
notFound(NotFoundPage)
], composeLayoutFunction)
/* React to route changes (mounting $page triggers router) */
const unsub = effect(() => {
const PageComponent = $page().default
console.log('Current page:', PageComponent())
// Render PageComponent in your app
})
// Output: Current page: Welcome Home!
/* Navigate programmatically */
navigation.push('/users/123')
// Output: Current page: User ID: 123
navigation.push('/admin/settings/profile')
// Output: Current page: Admin Layout: Admin Page: settings/profile
navigation.back()
// Output: Current page: User ID: 123
/* Cleanup */
unsub()
For comprehensive guides, advanced patterns, and API reference, visit the documentation website.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.