Skip to content

davidN96/text-analyser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Text Analyser

What Text Analyser is ❔

Text Analyser is lightweight library to analyse basic informations about text files like number of words, signs, spaces and empty lines.

Getting started 🚀

Requirements

To use this module you need to install latest version of Node on your computer.

Installation ✨

    npm install text-analyser

💥 Ready to use! 😃

How to use ❔

import { analyse } from "text-analyser";

const pathToTxtFile = "txtFile.txt";

const informationsAboutTxtFile = analyse(pathToTxtFile);

That's all 😎

Variable informationsAboutTxtFile shoud look like this:

    { signs: X, spaces: X, words: X, lines: X, emptyLines: X, notEmptyLines: X }

UML Diagram

Sequence Diagram

Sequence Diagram

Thank you for using this module. 😊

About

Library to analyse txt files.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published