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

@ackplus/mui-tanstack-data-grid

v1.17.1

Published

A lightweight, fully-featured React data grid built on TanStack Table and MUI — div/CSS-Grid rendering (no HTML table), themeable like a MUI component. Successor to @ackplus/react-tanstack-data-table.

Downloads

4,409

Readme

@ackplus/mui-tanstack-data-grid

Successor to @ackplus/react-tanstack-data-table (now deprecated). Same project & repo, new package name to reflect the rebuilt architecture.

A lightweight, fully-featured React data grid built on the headless TanStack Table engine and MUI:

  • <div> / CSS-Grid rendering — no HTML <table>, so column sizing, resize, and pinning are reliable and pixel-accurate.
  • Themeable like a MUI component — inherits your MUI theme; override via palette.tanstackDataGrid, components.MuiTanstackDataGrid (defaultProps / styleOverrides), --dt-* CSS variables, or sx — exactly like MUI X DataGrid.
  • All features free — sorting, global + column filtering, pagination, selection + bulk actions, pinning, reordering, resizing, row expansion, virtualization, CSV + (lazy) Excel export.
  • Headless escape hatchuseDataTable() for full control without the default UI.

Install

npm install @ackplus/mui-tanstack-data-grid

Published on npm. Docs: https://ack-solutions.github.io/react-tanstack-data-table/docs/

Module formats & build

Shipped as a dual ESM + CommonJS package, tree-shakeable, with types:

| Resolved via | Path | Used by | | --- | --- | --- | | exports.import + module | dist/esm/index.js | bundlers (Vite, webpack, Rollup, esbuild, Next.js) — ESM, tree-shaken | | exports.require + main | dist/cjs/index.js | Node require, Jest, older toolchains | | exports.types + types | dist/types/index.d.ts | TypeScript |

The root package stays "type": "commonjs" and carries "sideEffects": false.

How the build works

pnpm build runs three tsc passes plus a finalize step:

tsc -p tsconfig.cjs.json     # -> dist/cjs   (module: CommonJS)
tsc -p tsconfig.esm.json     # -> dist/esm   (module: ES2020)
tsc -p tsconfig.types.json   # -> dist/types (.d.ts + .d.ts.map only)
node scripts/finalize-dist.mjs

finalize-dist.mjs drops a tiny package.json into each format dir:

  • dist/cjs/package.json{ "type": "commonjs", "sideEffects": false }
  • dist/esm/package.json{ "type": "module", "sideEffects": false }

That marker is what lets the root stay CommonJS while dist/esm/*.js is treated as ES modules.

Gotcha — both markers must repeat "sideEffects": false. Bundlers resolve sideEffects from the closest package.json to a module file. They hit dist/esm/package.json first; if it omits the flag they fall back to the default ("has side effects"), shadowing the root flag and silently disabling tree-shaking. (Verified: with the flag, importing one helper bundles to ~227 B; without it, ~6 KB of styled() calls and icon imports leak in.)

Icon rule — don't regress

Import MUI icons per-path only:

import Search from '@mui/icons-material/Search';      // ✅ tree-shakeable
import { Search } from '@mui/icons-material';         // ❌ pulls the whole barrel (~2,100 icons)

The barrel can't be tree-shaken in the CommonJS build, so it would force every consumer to bundle the full icon set. Expose icons as slots so consumers can swap in their own. The repo has no ESLint config, so the rule is enforced by a test — tests/no-barrel-icons.test.cjs fails the build if a bare @mui/icons-material import reappears.

Plan & parity tracking: see /rebuild.