A japanese plugin for azu/textstat.
textstatで使える日本語向けの統計ツール集。
$ npm install textstat-plugin-ja textstat -g
$ textstat --plugin ja README.md
--plugin ja
と指定する事で読み込まれます。
または、.textstatrc
の "plugins"
で指定することで、コマンドラインオプションを省略できます。
{
"plugins":[
"ja"
]
}
$ textstat README.md
Output:
share-of-char-type
: ひらがな、カタカナ、漢字、アルファベットの利用率を表示tateishi-level
: 日本文の読みやすさの評価式を使った文章の読みやすさのレベル表示
ranking-meishi
: 利用されている名詞TOP 10npm test
git checkout -b my-new-feature
git commit -am 'Add some feature'
git push origin my-new-feature
MIT