【文件属性】:
文件名称:retext-readability:检查可读性的插件
文件大小:9KB
文件格式:ZIP
更新时间:2021-05-10 16:50:30
readability smog retext gunning-fog retext-plugin
文本可读性
插件以检查可读性。 适用于 ,, , , , 和 。
提示:我还制作了一个在线可编辑的演示,类似于该项目: wooorm.com/readability 。
安装
npm :
npm install retext-readability
用
假设我们有以下文件example.txt :
The cat sat on the mat
The constellation also contains an isolated neutron
star—Calvera—and H1504+65, the hottest white dwarf yet
discovered, with a surface temperature of 200,000 kelvin
…我们的脚本example.js如下所示:
var vfile = require ( 'to-vfile
【文件预览】:
retext-readability-main
----index.js(5KB)
----test.js(5KB)
----package.json(3KB)
----readme.md(6KB)
----.github()
--------workflows()
----.prettierignore(70B)
----license(1KB)
----.gitignore(111B)
----.npmrc(19B)
----.editorconfig(147B)