🚀 Big News:Socket Has Acquired Secure Annex.Learn More
Socket
Book a DemoSign in
Socket

@duckviz/explorer

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@duckviz/explorer

File explorer, data grid, and AI widget recommendations for DuckDB-WASM — drop-in <Explorer /> component.

latest
Source
npmnpm
Version
0.23.4
Version published
Maintainers
1
Created
Source

@duckviz/explorer

File explorer, data grid, and AI-powered widget recommendations for DuckDB-WASM. Drop-in <Explorer /> component with three-panel layout: file sidebar, data viewer, and AI recommendations.

Install

npm install @duckviz/explorer
# peer dependencies
npm install @duckviz/db @duckviz/dashboard @duckviz/ui @duckviz/widgets \
  react react-dom @tanstack/react-query zustand

Quick start

import { DuckvizDBProvider } from "@duckviz/db";
import { Explorer } from "@duckviz/explorer";

function App() {
  return (
    <DuckvizDBProvider persistence>
      <Explorer
        persistence
        authenticated
        dashboards={dashboards}
        onAddWidgetToDashboard={(dashboardId, widget) => {
          /* ... */
        }}
        onCreateDashboard={(name) => {
          /* ... */
        }}
        onIngestComplete={(tableName) => {
          /* ... */
        }}
      />
    </DuckvizDBProvider>
  );
}

Props

PropTypeDescription
dashboardsExplorerDashboardRef[]Controlled dashboard list for "Add to Dashboard"
onAddWidgetToDashboard(id, widget) => AddWidgetResultCallback when user adds a widget
onCreateDashboard(name) => stringCallback to create a new dashboard, returns id
authenticatedbooleanGates AI recommendation panel
persistencebooleanSelf-hydrate stores from IndexedDB (default: false)
datasetsExplorerDataset[]Pre-ingested tables (bypasses file upload)
customFetchFetchFnIntercept API calls for auth/path rewriting
onIngestComplete(tableName) => voidCalled after file ingestion completes
onUnmountFiles(paths) => voidCalled when files are unmounted
onEmpty() => voidCalled when all files are removed

Peer dependencies

PackageVersion
react>=18
react-dom>=18
@duckviz/db>=0.2.0
@duckviz/dashboard>=0.2.0
@duckviz/widgets>=0.1.0
@mantine/core>=8
@mantine/hooks>=8
@mantine/notifications>=8
@tabler/icons-react>=3
@tanstack/react-query>=5
zustand>=5

License

MIT

FAQs

Package last updated on 06 May 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts