text-analyser
Text Analyser is lightweight library to analyse basic informations about text files like number of words, signs, spaces and empty lines.
Last updated 5 months ago by davidn96 .
ISC · Original npm · Tarball · package.json
$ cnpm install text-analyser 
SYNC missed versions from official npm registry.

Text Analyser

What Text Analyser is :grey_question:

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

Getting started :rocket:

Requirements

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

Installation :sparkles:

    npm install text-analyser

:boom: Ready to use! :smiley:

How to use :grey_question:

import { analyse } from "text-analyser";

const pathToTxtFile = "txtFile.txt";

const informationsAboutTxtFile = analyse(pathToTxtFile);

That's all :sunglasses:

Variable informationsAboutTxtFile shoud look like this:

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

Thank you for using this module. :blush:

Github Repository

Current Tags

  • 1.0.61                                ...           latest (5 months ago)

5 Versions

  • 1.0.61                                ...           5 months ago
  • 1.0.4                                ...           5 months ago
  • 1.0.3                                ...           5 months ago
  • 1.0.2                                ...           5 months ago
  • 1.0.0                                ...           5 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 1
Last Month 2
Dependencies (1)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |