Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 1020 Bytes

README.md

File metadata and controls

46 lines (31 loc) · 1020 Bytes

Word Analysis

This solution provides a word analysis that can be executed over local files or external URLs, among the outputs, the user can find: word count, letters count, spaces count and frequent words count. Using the Single Responsability Principle from the SOLID design pattern, each of these features is isolated in their own functions. This solution requires NodeJS to be at least on version 18.

Solution Setup:

To install dependencies:

npm install

To compile TypeScript solution:

npm run build

Solution Execution:

To execute the aplication:

npm start <file_path_or_url>

To run tests:

npm test

Useful Info:

Sample online readme file to use as input

https://raw.githubusercontent.com/facebook/create-react-app/main/packages/cra-template/template/README.md

Sample local files to use as input

Check examples folder.

Developed by:

Felyppe Rodrigues da Silva

[email protected]

https://www.linkedin.com/in/felyppe/