Skip to content

NodeJs Console Application for extracting text files' statistcs

Notifications You must be signed in to change notification settings

johnkottis/nodejs-console-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WordCount

Introduction

This project is a command-line tool that reads and processes words from text files or directories. It provides basic word counting functionality as well as extended options for frequency analysis and more.

Installation, Usage, Example Usage, and License

To install the dependencies, run the following command:

npm install

This will install the necessary packages specified in package.json.

You can run the tool using the following command:

node server.js [options] <file_or_directory>

Options include:

  • -b, --basic: Show basic data (e.g., word count, line count).
  • -f, --frequencies: Show word frequency data.
  • -x, --extended: Show extended data analysis.

Example usage:

node server.js -b ./sample_text.txt

This will display the basic word count and line count for textfile.txt.

This project is licensed under the MIT License.

About

NodeJs Console Application for extracting text files' statistcs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published