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

@adapttable/core

v3.2.2

Published

Framework-neutral AdaptTable engine — models, state, URL sync, and a unified client/server TableSource. Zero UI-kit or React imports.

Downloads

1,748

Readme

@adapttable/core

AdaptTable — one headless engine: the same table re-rendered through Mantine, MUI, Chakra, Ant Design, Radix, shadcn, and Tailwind

📖 Documentation · 🚀 Live demo · Get started · ⚡ Try in StackBlitz

Migrating from TanStack Table? See the migration guide.

The framework-neutral engine behind AdaptTable — state, models, query codecs and the unified client/server TableSource contract, with no React or UI-kit imports in its graph.

pnpm add @adapttable/core

You usually want a styled adapter on top (@adapttable/mantine, @adapttable/mui, @adapttable/chakra, @adapttable/unstyled). Reach for @adapttable/react when you want hooks and prop-getters to render your own markup.

Requires Node.js 22.12.0 or newer; packed releases are tested on Node 22.12 and Node 24.

Features

Core supplies the state, data transforms and contracts behind the complete table surface below. React hooks, keyboard wiring and rendered controls live in @adapttable/react and the kit adapters.

  • Automatic mobile cards — core preserves one row/state model while the React and adapter layers render cards below the mobile breakpoint. Docs.
  • Client or server data through one TableSource contract — same props either way.
  • Global search — the committed term, its q URL param and the default searchable-text projection (engineSearchText); adapters render the search box.
  • URL-synced search / sort / filters / page — shareable, deep-linkable links.
  • Pagination — paged or infinite scroll via paginationMode; server sources report their own totals, client sources derive them.
  • SSR & server components — the engine has no DOM dependency; the React binding supplies the client boundary for the Next.js App Router. Docs.
  • A React-free half (@adapttable/core/query) — the filter-tree and pivot URL codecs on their own, so a route handler can decode a shared link in a process with no React installed.
  • Sorting — comparator resolution and multi-key sortValue; React turns the result into accessible header state.
  • Filtering — filter model, operators and counts, including a nested AND/OR filter tree; adapters render the forms and chips.
  • Header filters — the filter chrome model behind headerFilters(); adapters draw the header funnel.
  • Custom filter types — the FilterTypeSpec registry behind FILTER_TYPES: widget, operators, predicate, chips and URL params per type.
  • Selection + bulk actions — selected ids and the bulk-action contract; adapters render tri-state controls and dialogs.
  • Row actions — contracts for visibility, disabled state and confirmation; adapters own the controls.
  • Row expansion — state behind the React binding's rowDetail(...) feature.
  • Nested tables — the React layer's nestedTable(...) renders a full kit DataTable inside an expanded row.
  • Inline cell editing — state behind editing(handler) and editable columns; text, number and select editors, keyboard commit/cancel, Tab advance. Omit the handler and no cell opens.
  • Row reordering — rowReorder(handler); Space-lift keyboard, dataset-relative indices.
  • Row pinning — rowPinning(...); sticky top and bottom rows.
  • Pinned summary rows — pinnedSummaryRows({ top, bottom }); host-owned totals outside the row model.
  • Row and column spanning — the model behind cellSpan(...).
  • Full-width and separator rows — extraRows.
  • Row styling and heights — the model behind rowAppearance(...).
  • Keyboard cell navigation — core state supports the React layer's cellNavigation() feature, which adds ARIA grid semantics, arrow-key movement and screen-reader announcements.
  • Row grouping — model support for grouping(...) and groupingPanel(...).
  • Aggregation — aggregate(), aggregatable column operations and the aggregation model behind footer and group totals, including custom operations.
  • Pivot tables — rows, columns and measures with subtotals and collapsible groups, from the optional @adapttable/core/pivot entry.
  • Tree data — the hierarchy model behind tree(...).
  • Column management — show/hide, reorder, pin (sticky) and resize state, plus collapsible column groups.
  • Sparkline columns — the React layer's @adapttable/react/sparkline renders bar, line and area charts as inline SVG.
  • PDF export and print layout (@adapttable/core/pdf) — optional entry; pdfWriter() on exportCsv, printTable for the browser dialog.
  • Formula engine (@adapttable/core/formula) — spreadsheet formulas over rows and aggregates; circular refs report #CYCLE!.
  • Live row patches (@adapttable/core/stream) — wire parsing and socket connection without React; useRowPatchStream lives at @adapttable/react/stream.
  • Saved views — name a filter/sort/column arrangement and switch between them.
  • Feature composition foundations — framework-neutral state and contracts power the factories exposed by @adapttable/react/features and each kit subpath. Host plugins use the same TableFeature / setup(host) surface.
  • CSV export (exportCsv(...)) — current page, the full filtered set, or the selected rows; choose the columns, or hand the whole thing to your backend.
  • XLSX export (@adapttable/core/xlsx) — optional entry; xlsxWriter() on exportCsv writes a real .xlsx workbook with no extra dependency.
  • Command palette and context menus — the Command / ContextMenuItem model and the built-in tableCommands / filterCommands; adapters render commandPalette() and contextMenu().
  • View controls — localized labels for density, fullscreen, print, status bar and side panel; the React layer and adapters own the toolbar controls.
  • Virtualization (virtualize(...)) — row/card windowing for very large lists.
  • RTL and i18n-agnostic labels — pass labels or a t function.
  • Framework-neutral — no components, styling, React or UI-kit imports.

See it work

One dataset, re-rendered by each adapter — these clips are the cross-kit tour.

Row grouping — group rows by a column with per-group subtotals

row-grouping

Inline cell editing — double-click a cell; text, number and select editors

cell-editing

Filtering — type a bound and the table answers as you type

filtering

Column management — show, hide, reorder, pin and resize

column-management

RTL — the whole table mirrors, not just the text

rtl

Documentation

Getting started · Live demo · Comparison vs ag-Grid · MUI X · TanStack

License

MIT © Orwa Mahmoud