npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

buckaroo-js-core

v0.14.20

Published

React + AG-Grid components and infinite-scroll data layer that power the Buckaroo DataFrame viewer.

Readme

buckaroo-js-core

React + AG-Grid components and the infinite-scroll data layer that power the Buckaroo DataFrame viewer.

This package is the framework-agnostic JS half of Buckaroo. The Python widget side ships it bundled inside buckaroo on PyPI; you only need to install this package directly if you are:

  • embedding the DataFrame viewer in a React app outside Jupyter (e.g. a SPA),
  • building a custom widget shell against a different host, or
  • developing Buckaroo itself.

Install

npm install buckaroo-js-core
# or
pnpm add buckaroo-js-core
# or
yarn add buckaroo-js-core

React 18 is a peer dependency.

Usage

import { DFViewer } from "buckaroo-js-core";
import "buckaroo-js-core/style.css";

export function App() {
  return (
    <DFViewer
      df_data={[{ index: 0, a: 1 }, { index: 1, a: 2 }]}
      df_viewer_config={{
        pinned_rows: [],
        left_col_configs: [],
        column_config: [
          { col_name: "index", header_name: "index", displayer_args: { displayer: "obj" } },
          { col_name: "a",     header_name: "a",     displayer_args: { displayer: "obj" } },
        ],
      }}
    />
  );
}

Higher-level components are also exported:

  • DFViewer — render a static array of rows
  • DFViewerInfinite — infinite-scroll grid backed by an AG-Grid datasource
  • DFViewerInfiniteDS — datasource-driven grid wired to a KeyAwareSmartRowCache
  • BuckarooInfiniteWidget — the full Buckaroo UI (status bar + grid + columns editor)
  • getKeySmartRowCache — factory that wires a model's infinite_request / infinite_resp messages into a row cache

See src/index.ts for the full export surface.

Development

pnpm install
pnpm run build           # tsc -b && vite build
pnpm test                # jest
pnpm run test:pw         # Playwright against Storybook
pnpm storybook           # interactive component dev

The package is part of the Buckaroo pnpm workspace at the repo root; see the main README for the full build/release flow.

License

BSD-3-Clause