selection-stats

Utilities for calculating statistics about selections


Keywords
util, selection, text, word, character, count, stats, statistics
License
MIT
Install
bower install selection-stats

Documentation

Build status Bower version

selectionStats

Utilities for calculating statistics about selections

selectionStats.wordCount(selection:Selection)

Return the number of words in a selection

selectionStats.characterCount(selection:Selection)

Return the number of characters in a selection

Development

Generate documentation

$ npm install -g dox
$ ./generate-docs > README.md

Deploy

Where X.Y.Z is the new version number:

$ git tag -a vX.Y.Z
$ git push --tags