textics::chart_decreasing:JavaScript文本统计信息,用于统计行,单词,字符和空格

时间:2021-04-27 21:05:13
【文件属性】:
文件名称:textics::chart_decreasing:JavaScript文本统计信息,用于统计行,单词,字符和空格
文件大小:99KB
文件格式:ZIP
更新时间:2021-04-27 21:05:13
counter statistics tools stream string 文本学 text/ics计算给定字符串的行数,单词数,字符数和空格 :page_with_curl: :memo: npm install textics 原料药 const { lines , words , chars , spaces } = textics ( str ) ; 例子 const { textics } = require ( "textics" ) ; const result = textics ( "you got the power" ) ; expect ( result ) . to . deep . equal ( { lines : 1 , words : 4 , chars : 14 , spaces : 3 } ) ; 在流中使用文本 相关项目 排序软件包以进行monorepos生产。 使用零配置构建项目。 提取程序包名称。 用于项目生产的实用程序功能。 将给
【文件预览】:
textics-master
----package.json(1KB)
----.github()
--------dependabot.yml(621B)
--------workflows()
--------stale.yml(2KB)
----test()
--------readingFile.test.js(1KB)
--------utils.test.js(2KB)
--------individualSamples.test.js(2KB)
--------txtTest-2.txt(12B)
--------txtTest-3.txt(54B)
--------txtTest-1.txt(51B)
--------fullsentences.test.js(966B)
----LICENSE(34KB)
----src()
--------utils.js(2KB)
--------textics.js(1KB)
----.eslintrc.js(261B)
----.gitignore(61B)
----README.md(1KB)
----yarn.lock(203KB)
----.eslintignore(20B)

网友评论