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-utils

v1.0.5

Published

Optional companion helpers for ng-advanced-table, including render metrics tooling.

Readme

ng-advanced-table-utils

Optional utilities 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 render-metrics behavior and wiring.

Package Scope

Use this package when you want optional render-metrics helpers:

  • NatTableRenderMetricsStore
  • NatRenderMetricsFilter
  • NatRenderMetricsPanel
  • withRenderMetricsColumn(...)

The package composes structurally with any compatible table controller and event source. The common pairing is <nat-table [emitRowRenderEvents]="true" (rowRendered)="store.record($event)">.

Install

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

Public Exports

  • NatTableRenderMetricsStore
  • NatRenderMetricsFilter
  • NatRenderMetricsPanel
  • withRenderMetricsColumn(...)
  • WithRenderMetricsColumnOptions
  • NatTableRenderMetricsController
  • NatTableRenderMetricsEvent
  • NatTableRenderMetricsState
  • getRowRenderTone(...)
  • getRenderToneLabel(...)
  • isRenderFilterValue(...)
  • RENDER_FILTER_OPTIONS
  • RENDER_METRIC_COLUMN_ID
  • RowRenderFilterOption
  • RowRenderFilterValue
  • RowRenderMeasurement
  • RowRenderMetric
  • RowRenderTone

Package Notes

  • NatTableRenderMetricsStore tracks per-row timings and computes the latest aggregate measurement.
  • withRenderMetricsColumn(...) appends a synthetic metrics column. The default id is __rowRenderMetric.
  • NatRenderMetricsFilter writes a column filter for the metrics column and resets pagination to the first page.
  • NatRenderMetricsPanel renders a compact summary for the latest captured measurement.

Minimal Example

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

import { NatTable, type NatTableState } from 'ng-advanced-table';
import {
  NatRenderMetricsPanel,
  NatTableRenderMetricsStore,
  withRenderMetricsColumn,
} from 'ng-advanced-table-utils';

interface MetricRow {
  id: string;
}

@Component({
  selector: 'app-metric-table',
  changeDetection: ChangeDetectionStrategy.OnPush,
  imports: [NatTable, NatRenderMetricsPanel],
  template: `
    <nat-table
      [data]="rows()"
      [columns]="columns"
      [state]="tableState()"
      [emitRowRenderEvents]="true"
      ariaLabel="Metric table"
      (stateChange)="tableState.set($event)"
      (rowRendered)="metrics.record($event)"
    />

    <nat-render-metrics-panel [store]="metrics" />
  `,
})
export class MetricTableComponent {
  readonly rows = signal<MetricRow[]>([]);
  readonly tableState = signal<Partial<NatTableState>>({});
  readonly metrics = new NatTableRenderMetricsStore();
  readonly columns: ColumnDef<MetricRow>[] = withRenderMetricsColumn<MetricRow>([], this.metrics);
}