/selection-stats

Utilities for calculating statistics about selections

Primary LanguageJavaScriptMIT LicenseMIT

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