rowSummary

tcmts.cli.data_pages.rowSummary · #lslcvk54 · term · runs on the server

uses node:util

A value in one short line.

import { inspect } from "node:util";

export const rowSummary = (v: unknown): string =>
  inspect(v, { depth: 2, breakLength: Infinity, maxArrayLength: 5, maxStringLength: 60 })

used by