Registry / auth-security / better-auth-dashboard

better-auth-dashboard

JSON →
library0.0.4jsnpmunverified

A Better-Auth powered admin dashboard for user and organization management, plugin configuration, route protection, and emergency lockdowns. Current version is 0.0.4, released pre-alpha and not ready for production. Developed by Multinite, it integrates with Better-Auth and Next.js 15. Features include dynamic dashboard systems and advanced route protection. Peer dependencies include Next.js, Radix UI components, and better-fetch.

npm install better-auth-dashboard
INSTALL
IMPORT
SIG · BETTER-AUTH-DASHBO
B
better-auth-dashboard
auth-securityjavascriptv0.0.4
Install
Import
Disk
Pass rate
0/ 6
Env Coverage0 / 6
glibc
1822
musl
1822
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18226 runs
build_error
glibc
node 18226 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

BetterAuthDashboard
import { BetterAuthDashboard } from 'better-auth-dashboard'
const BetterAuthDashboard = require('better-auth-dashboard')
ESM-only; CJS require() will fail.
DashboardProvider
import { DashboardProvider } from 'better-auth-dashboard'
import DashboardProvider from 'better-auth-dashboard'
Named export, not default.
useDashboard
import { useDashboard } from 'better-auth-dashboard'
Named export for hook.

Minimal setup: wrap your admin page with DashboardProvider and render the BetterAuthDashboard component.

import { BetterAuthDashboard } from 'better-auth-dashboard' import { DashboardProvider } from 'better-auth-dashboard' export default function AdminPage() { return ( <DashboardProvider> <BetterAuthDashboard /> </DashboardProvider> ) }
Debug
Known issues
breakingPackage is pre-alpha and NOT ready for production use.
fix
Do not use in production. Consider alternatives like better-auth's built-in admin panel.
affects: 0.0.4
gotchaPeer dependency next must be version ^15.0.0.
fix
Ensure your project uses Next.js 15.
affects: *
gotchaRequires Better-Auth to be configured separately.
fix
Set up Better-Auth before using this dashboard.
affects: *
Errors
Common errors & fixes
Module not found: Can't resolve 'better-auth-dashboard'
Package not installed or not in node_modules.
fix
Run `npm install better-auth-dashboard`
Error: Cannot find module '../lib/dashboard'
Internal import failure; likely version mismatch.
fix
Update to the latest version and check peer dependencies.
Upgrade
Version history
0.0.4latest on npm
Audit
Dependencies
@radix-ui/react-collapsiblerequiredUI component for collapsible panels
@radix-ui/react-tooltiprequiredUI component for tooltips
better-fetchrequiredHTTP client for Better-Auth
nextrequiredNext.js framework required (^15.0.0)
Agent activity
18 hits · last 30 days
node
16
OpenAI (training)
1
Resources
better-auth-dashboard — npm install better-auth-dashboard · libregistry