https://github.com/tiansh/guess-txt-toc
根据 .txt 文本文件识别目录模板(还在调试中,欢迎意见反馈,完成后视情况放入 github.com/tiansh/reader 里)
https://github.com/tiansh/guess-txt-toc
Last synced: about 1 month ago
JSON representation
根据 .txt 文本文件识别目录模板(还在调试中,欢迎意见反馈,完成后视情况放入 github.com/tiansh/reader 里)
- Host: GitHub
- URL: https://github.com/tiansh/guess-txt-toc
- Owner: tiansh
- Created: 2025-01-14T15:51:19.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2025-01-14T15:58:18.000Z (5 months ago)
- Last Synced: 2025-01-14T17:25:00.128Z (5 months ago)
- Language: JavaScript
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
使用方法
```
node scores.js 文件名.txt
```会自动识别文件的目录模板,显示模板和识别出来的目录。
目前识别效果和运行效率还在调试过程中。
后续视情况考虑加入到 https://github.com/tiansh/reader 中。
如果你对识别的逻辑有什么好的见解,欢迎反馈。
这段代码和 tReader 一样使用 MPL-2.0 (Incompatible With Secondary Licenses) 协议开源。