memorax-ai/dsh-render-engine--packages-table-render ↗★ 1

@ch4acko3/dsh-table-render

Safe responsive table rendering service for DeepSeek Harness Web plugins 适合需要在Web插件中展示格式化数据、自动对齐表格内容的开发者。

Package
@ch4acko3/dsh-table-render
Compatibility
Unverified
Cordis peer range
^4.0.1
Version
0.1.3
License
MIT
Last updated
Sep 24, 2026

Other repositories with this package name

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:memorax-ai/dsh-render-engine#9582bf138d3a6d7381a84359a4a0b878a1ea8952&path:packages/table-render

@ch4acko3/dsh-table-render

Safe, responsive semantic table rendering for DeepSeek Harness Web plugins.

export const inject = ['tableRenderer']

export function apply(ctx) {
  const result = ctx.tableRenderer.render({
    caption: 'Package status',
    rows: [
      { package: 'markdown', status: 'ready', tests: 7 },
      { package: 'mermaid', status: 'ready', tests: 2 },
    ],
  })

  console.log(result.html)
}

Column order is inferred from the first appearance of each record key, or can be supplied explicitly with labels and alignment. Missing values, nulls, booleans, finite numbers, strings, and empty datasets receive distinct, accessible output.