Skip to content

A command-line program that reads the text contents of a file, counts each individual word and outputs a word-count into the console.

Notifications You must be signed in to change notification settings

lepatriinukast/word-counter

Repository files navigation

App requirements:


The app requires Node.js to be installed on your machine (https://nodejs.org/en/download/).


To build the app:


Download the repository.
Open a terminal window in the root folder of the app (word-counter).
Run the command "npm i".
Wait for the installation to finish.


To run the app:


Make sure that the terminal is open in the root folder.
Run the command "npm start <filePath>",
where <filePath> is the location of the file that the app should read.
The result is printed in the terminal console.


To run the tests:


Make sure that the terminal is open in the root folder.
Run the command "npm test".
The results are printed in the terminal console.


A description of the app is located inside the root folder in about.txt.

About

A command-line program that reads the text contents of a file, counts each individual word and outputs a word-count into the console.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published