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

v2.0.0

Published

Scaffolding CLI for AdaptTable — `npx @adapttable/cli init` detects your UI kit (Mantine, MUI, Chakra, Ant Design, Tailwind) and sets up a data table.

Readme

@adapttable/cli

AdaptTable — scaffold a table for any UI kit from one engine

📖 Documentation · 🚀 Live demo · Get started

The scaffolding CLI for AdaptTable. One command detects your UI kit, picks your package manager, writes a starter table, and tells you exactly what to install.

npx @adapttable/cli init
AdaptTable — detected Mantine.

1. Install the packages:
   pnpm add @adapttable/core @adapttable/mantine @mantine/hooks

2. Scaffolded: src/PeopleTable.tsx

3. Render <PeopleTable /> and you're done.

What it does

  • Detects your UI kit from package.json — Mantine, MUI, Chakra, Ant Design, Radix Themes, Base UI, shadcn/ui (via components.json), or Tailwind — falling back to the unstyled adapter.
  • Detects your package manager from the lockfile (pnpm / yarn / bun / npm) and prints the right install command — it never installs anything itself; you run the command it shows.
  • Scaffolds src/PeopleTable.tsx, a sortable starter table wired to the matching adapter (every AdaptTable feature is one prop away — see the docs). Pass --force to overwrite an existing file.
  • One step it can't do for you: wrap your app in the kit's provider (MantineProvider, MUI's ThemeProvider, ChakraProvider, antd's ConfigProvider, Radix's Theme) if it isn't already — that's the most common first-run failure.

Programmatic use

The building blocks are exported and pure (easy to test/automate):

import { detectKit, runInit } from "@adapttable/cli";

detectKit({ "@mui/material": "^6" }).kit; // "mui"

Features

  • Detects your UI kit from package.json — Mantine, MUI, Chakra, Ant Design, Radix, Base UI, shadcn/ui (via components.json) or Tailwind.
  • Prints the exact install command for the matching adapter plus the peer packages it needs (run it yourself with your package manager).
  • Scaffolds a working table wired to your kit, not a blank file: sortable out of the box, with the full AdaptTable feature set (filtering, selection, editing, grouping, saved views, CSV export, virtualization, …) each one prop away.
  • Programmatic API — call it from your own scripts, not only the terminal.

See it work

What npx @adapttable/cli init scaffolds, running.

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