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

ng-tablekit

v1.1.4

Published

Cross-platform CLI for adding Angular 17+ and matching NG-ZORRO report and master table pages.

Readme

ng-tablekit

A cross-platform CLI that adds ready-to-use table pages to Angular 17 and newer workspaces, using the matching NG-ZORRO major version.

Requirements

  • Node.js 18.19 or newer
  • An Angular 17 or newer workspace
  • npm, pnpm, Yarn, or Bun

The CLI runs on Windows, macOS, and Linux. It detects the current Angular workspace, a uniquely nested workspace, or the nearest parent workspace. This means you can run it from the project root, inside the project, or from a folder that contains one Angular project.

TableKit detects the consuming project's Angular major version and installs the same major of ng-zorro-antd and @ant-design/icons-angular. Angular 17, 18, 19, 20, and 21 are covered by the release tests. Existing NG-ZORRO or icon dependencies must match Angular's major version.

Quick start

Add a report page with filter, Excel export, PDF export, global search, sorting, and pagination:

npx --yes ng-tablekit add report-page

Or add a master page with global search, Add/Edit drawers, row actions, role mapping, sorting, and pagination:

npx --yes ng-tablekit add master-page

Then start the Angular application and open /report-page or /master-page.

The CLI automatically:

  • copies the selected page and its shared runtime files;
  • installs only missing page dependencies;
  • configures the NG-ZORRO stylesheet, English locale, and Angular animations;
  • registers every icon used by the generated page without requiring global icon configuration;
  • adds a lazy route to src/app/app.routes.ts;
  • uses relative imports, so no TypeScript path aliases are required;
  • preserves existing files and stops before overwriting changed content.

Commands

npx --yes ng-tablekit list
npx --yes ng-tablekit --help
npx --yes ng-tablekit --version

Options for add:

--project <directory>  Angular workspace root (normally auto-detected)
--path <directory>     Custom destination inside the workspace
--route <path>         Custom route path
--skip-route           Do not edit app.routes.ts
--skip-install         Update package.json without installing dependencies
--force                Replace conflicting generated files

Example with a custom destination and route:

npx --yes ng-tablekit add master-page --path src/app/admin/users --route users

Optional project installation

To pin a CLI version for a team, install it as a development dependency:

npm install --save-dev ng-tablekit
npx tablekit add report-page

The tablekit executable is included as a convenient alias when the package is installed locally.

Safe updates

Running the same command again is safe when generated files still match. If any target file has different content, the CLI stops and lists the conflicts. Use --force only when replacing those files is intentional.

Column configuration

Columns opt in to sorting. A sorting icon and sort behavior are included only when sortable: true is present.

columns = [
  { key: 'name', title: 'Name', sortable: true },
  { key: 'department', title: 'Department' },
  { key: 'status', title: 'Status', sortable: false, type: 'status' }
];

Adding, removing, or reordering configured columns does not require table markup changes.

Develop this package

npm install
npm run test:cli
npm run test:package
npm run verify:static
npm run build

Release instructions are in PUBLISHING.md.