返回目录
文件与数据 插件

dsh-csv-viewer

hi-wenw/dsh-csv-viewer

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

Stars
0
Forks
0
Issues
0
更新
2 个月前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

未验证
dsh plugin --profile web add github:hi-wenw/dsh-csv-viewer

该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。

PROJECT README

README

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

CLASSIFICATION EVIDENCE

分类依据

项目类型插件
功能分类文件与数据
规则置信度低

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: search。