类库 › diff-match-patch-line-and-word
karak

karak/diff-match-patch-line-and-word

这是一个TypeScript编写的扩展模块,为Google的diff-match-patch库添加了按行和按词比较文本差异的功能。它通过扩展原库API,提供了diff_lineMode和diff_wordMode方法,适用于需要精细文本差异分析的应用场景,如代码审查、文档版本比对等。

技术栈

测试

Mocha ^11.7.1

代码规范

ESLint ^9.33.0
查看全部依赖 (14)

开发依赖

@eslint/eslintrc ^3.3.1 @types/diff-match-patch ^1.0.32 @types/mocha ^9.0.0 @types/power-assert ^1.5.8 @typescript-eslint/eslint-plugin ^8.39.1 @typescript-eslint/parser ^8.39.1 diff-match-patch ^1.0.0 eslint-config-airbnb-base ^15.0.0 eslint-plugin-import ^2.32.0 espower-typescript ^10.0.0 globals ^16.3.0 power-assert ^1.6.1 typescript ^5.9.2 typescript-eslint ^8.39.1

评论

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.1. UTC+08:00, 2026-04-01 20:44
浙ICP备14020137号-1 $访客地图$