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-advanced-table

v1.0.0

Published

Signals-first Angular data table primitives built on TanStack Table.

Downloads

895

Readme

ng-advanced-table

Core table package for the angular-advanced-table workspace.

Canonical Docs

This package README is intentionally scoped to package entry-point information. The root README is the canonical source for table behavior and API details.

Package Scope

Use this package when you want:

  • The NatTable component.
  • Controlled or uncontrolled NatTableState.
  • Sorting, filtering, visibility, pinning, ordering, and optional pagination state.
  • Optional expandable detail rows driven by expandedRow and state.expanded.
  • Sticky headers and sticky pinned columns.
  • Optional (rowRendered) instrumentation.
  • Custom accessibility summaries and live announcements through accessibilityText.

This package does not include:

  • Search UI.
  • Column visibility UI.
  • Page-size UI.
  • Pager UI.
  • Header action buttons.
  • Surface styling.

Use ng-advanced-table-ui for optional UI and ng-advanced-table-utils for render-metrics tooling.

Install

npm install ng-advanced-table @tanstack/angular-table @angular/aria @angular/cdk

Zoneless Compatibility

  • ng-advanced-table is validated in a zoneless Angular TestBed configuration.
  • Angular 21+ consumers do not need zone.js to use this package.

Public Exports

  • NatTable
  • NatTableRowRenderedEvent
  • NatTableAccessibilityText
  • NatTableA11y (namespace of deep accessibility formatter context types)
  • NatTableExpandedState
  • NatTableExpandedRowContext
  • NatTableRowExpandablePredicate
  • NatTableRowIdGetter
  • NatTableRowActivateEvent
  • NatTableState
  • NatTableColumnMeta
  • NatTableCellTone
  • NatTableSortDirection
  • NatTableSortIndicatorContext

Minimal Example

import { ChangeDetectionStrategy, Component, signal } from '@angular/core';
import { type ColumnDef } from '@tanstack/angular-table';

import { NatTable, type NatTableState } from 'ng-advanced-table';

interface ServiceRow {
  id: string;
  service: string;
  latencyMs: number;
}

@Component({
  selector: 'app-service-table',
  changeDetection: ChangeDetectionStrategy.OnPush,
  imports: [NatTable],
  template: `
    <nat-table
      [data]="rows()"
      [columns]="columns"
      [state]="tableState()"
      [enablePagination]="true"
      ariaLabel="Service latency"
      (stateChange)="tableState.set($event)"
    />
  `,
})
export class ServiceTableComponent {
  readonly rows = signal<ServiceRow[]>([]);
  readonly tableState = signal<Partial<NatTableState>>({});
  readonly columns: ColumnDef<ServiceRow>[] = [
    {
      accessorKey: 'service',
      header: 'Service',
      meta: { label: 'Service' },
      cell: (context) => context.getValue<string>(),
    },
    {
      accessorKey: 'latencyMs',
      header: 'Latency',
      meta: { label: 'Latency', align: 'end' },
      cell: (context) => `${context.getValue<number>()} ms`,
    },
  ];
}

For Angular component-backed cells and more interactive cell UIs, see Custom cell components in the root README.