返回插件目录

hi-wenw /

hi-wenw/dsh-csv-viewer

已验证

DSH Web CSV and TSV table viewer with search, sorting, raw mode, and virtualized rows

★ 0 Stars0 Forks0 IssuesN/A 社区评分0 已确认安装
README来源: main@e86e5571

dsh-csv-viewer

DSH Web plugin that adds a dsh-better-sidebar viewer for .csv and .tsv files.

Install

Run this in the environment where DSH Web is installed:

dsh plugin --profile web add https://github.com/hi-wenw/dsh-csv-viewer.git

Restart DSH Web, then hard-refresh the browser with Ctrl+Shift+R. Open a CSV or TSV file from the sidebar to use the viewer.

Features

  • automatic delimiter detection for comma, tab, semicolon, and pipe-separated files;
  • virtualized rows, so large tables do not create one DOM node for every row;
  • sticky header and source row numbers;
  • case-insensitive content search;
  • numeric/text column sorting with ascending, descending, and reset states;
  • Table / Raw preview modes;
  • CSV quoting, escaped quotes, CRLF, and quoted newlines.

Development

pnpm install
pnpm build
pnpm check

The DSH client bundle is generated at lib/client.js. The host entry is lib/index.js and the bundle registration is in cordis.patch.yml.

License

MIT

—/ 5

暂无评分

社区评论

还没有评论,来写第一条。