#invertedIndex An inverted index consists of a list of all the unique words that appear in any document, and for each word, a list of the documents in which it appears.
This program aims to build an invertedIndex out of a JSON document supplied.
- Download and install Node.js if not already installed.
- Clone or download the zip-file for this repository
- On the terminal, navigate to the directory invertedIndex
- Run
npm install
to install dependencies - Run
npm install jasmine-node -g
to install jasmine for node
Run jasmine-node spec/
to run jasmine tests on the terminal