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/antd

v0.2.0

Published

Ant Design adapter for AdaptTable — a batteries-included antd data table with sorting, filtering, URL state, selection, RTL, and dark mode on antd's high-level Table.

Downloads

345

Readme

@adapttable/antd

The Ant Design adapter for AdaptTable — a batteries-included antd data table with sorting, filtering, URL-synced state, selection + bulk actions, RTL, and dark mode. It drives antd's high-level <Table> from the headless @adapttable/core engine, so you get the antd look-and-feel wired to a shareable, server-or-client data source.

pnpm add @adapttable/antd @adapttable/core antd react react-dom

Quickstart

import { DataTable, useFrontendData, type ColumnDef } from "@adapttable/antd";

interface Person {
  id: string;
  name: string;
  city: string;
}

const columns: ColumnDef<Person>[] = [
  { key: "name", header: "Name", accessor: (r) => r.name, sortable: true },
  { key: "city", header: "City", accessor: (r) => r.city },
];

export function People({ data }: { data: Person[] }) {
  const source = useFrontendData({ data, columns });
  return <DataTable source={source} columns={columns} rowKey={(r) => r.id} />;
}

Wrap your app in antd's ConfigProvider to control the theme (including theme.darkAlgorithm) and direction="rtl", as usual. Swap useFrontendData for useBackendData to drive the table from a server-paginated query — the component doesn't change.

Features

  • Client or server data through one TableSource.
  • URL-synced search / sort / filters / page — shareable, deep-linkable.
  • Native antd <Table> header sort carets, row Checkbox selection (with indeterminate select-all) + bulk actions with confirm.
  • Filter Drawer + removable Tag chips.
  • antd Pagination (with page-size changer) in paged mode; infinite scroll (IntersectionObserver auto-load + a "Load more" fallback) in infinite mode.
  • Responsive: a horizontally-scrollable <Table> on desktop, and an antd Card + Descriptions layout on mobile (auto by viewport).
  • antd Skeleton loading (honouring skeletonRows), Alert error with retry, and an Empty state.
  • Logical (RTL-aware) column alignment, column width, custom Cell renderers, and conditional row actions (isHidden / isDisabled).
  • slots (skeleton, empty), className, size, bordered, injectable confirm.

License

MIT © Orwa Mahmoud