dsh-text-tools

by uckkk

0 工具与能力github 检测到 manifest package.json#dsh收录于 08-16

字符串工具:大小写/驼峰/蛇形/短横线/slug 转换 + 文本统计

安装

dsh plugin --profile web add github:uckkk/dsh-text-tools

GitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试

安装与环境配置指引、插件开发教程见 DSH 中文社区文档 ↗

安装即在你的机器上以你的权限运行第三方代码——它可读写文件、使用凭据、访问网络,DSH 的工具审批不会为插件代码加沙箱。「检测到 manifest」仅代表发现 dsh.bundle / dsh.plugin 清单,不构成兼容性或安全审查;安装前请审阅源码,不熟悉的插件先在不含密钥的环境试用。

README

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

提供的工具

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

安装

dsh plugin add dsh-text-tools

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

用法示例

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

原始 README: https://github.com/uckkk/dsh-text-tools/blob/main/README.md ↗