matthewlawson / word-count-prime

Count words in a file, output word / count / is it a prime number

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Word Counter

An application that outputs the individual words that appear in the book, and how many times that word appears in the text file. Secondly output whether the number of times each word appears is a prime number.

Installing

Install dependencies

$ npm install

Running Tests

$ npm test

Run the app

$  node index.js

3rd Party libraries

Testing

mocha

Testing framework

expect.js

BDD assertions for mocha. To have nice verbose assertions over nodes assert library.

To Do

  • A second map reduce implementation using multi core map reduce

About

Count words in a file, output word / count / is it a prime number

License:MIT License


Languages

Language:JavaScript 100.0%