Count the words in a string. Support for english, CJK and Cyrillic.
Install with npm
$ npm i wordcount --save
var wordcount = require('wordcount');
wordcount('Count the words in string.');
//=> 5
wordcount('Count the words in string, again.');
//=> 6
Install dev dependencies:
$ npm i -d && npm test
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
Jon Schlinkert
Copyright © 2015 Jon Schlinkert Released under the MIT license.
This file was generated by verb-cli on September 22, 2015.