gitbook-plugin-word-count

0.2.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i gitbook-plugin-word-count

Weekly Downloads

0

Version

0.2.1

License

MIT

Last publish

Collaborators

  • ryanmurakami