0.2.1 • Published 8 years ago

gitbook-plugin-word-count v0.2.1

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

gitbook-plugin-word-count v0.2.1

NPM version Test Coverage

A word counting plugin for Gitbook

It's still a bit naive, but this will count all the words in your gitbook.

It currently excludes most normal Markdown syntax, but still hasn't been widely tested. If you have code in your project, it will likely inflate the number of words in your book.

I'll be working on updates to make the output more verbose, exclude code, and some more things.

Installation

Add to your book.json plugins array

{
	"plugins": ["word-count"]
}

Then install with gitbook-cli

$ gitbook install

Output

Output currently looks something like this during a build (building or serving):

> info: OK
> Completed counting with 3746 words.
> info: generation is finished