uckkk/dsh-text-tools0

dsh-text-tools

字符串工具:大小写/驼峰/蛇形/短横线/slug 转换与文本统计(字符/词/行/字节)

AI Analysis

用于文本格式转换和字数统计。适合需要频繁调整代码命名风格、转换文本格式或统计文本字数、字节数的开发者和编辑人员。

Package
dsh-text-tools
Version
0.1.0
License
MIT
Last updated
Aug 16, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:uckkk/dsh-text-tools

dsh-text-tools · 字符串工具

大小写/命名风格转换与文本统计。纯 Node 实现。

提供的工具

工具作用
text_transform大小写/驼峰/蛇形/短横线/slug 转换
text_stats字符/词/行/字节统计

安装

dsh plugin add dsh-text-tools

安装后在 profile 的 package.jsondsh.profile.bundles 中加入 "dsh-text-tools"

用法示例

把 hello world 转成驼峰
→ 调用 text_transform(text="hello world", mode="camel")