dsh-table-render
Đã xác minh@ch4acko3/dsh-table-render · v0.1.2 · MIT · Giao diện web
Safe responsive table rendering service for DeepSeek Harness Web plugins
Cài đặt
dsh plugin add @ch4acko3/dsh-table-render Xác nhận layer đã áp bằng dsh --profile default --dump-config — xem hướng dẫn cài plugin.
Mã nguồn
Phát hành lên npm mà không có repository công khai. Hãy kiểm tra nội dung package trước khi cài.
Thẻ
Readme
@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.