Skip to content

hassan-ak/wmd-ts-word-counter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Command Line Word Counter (TS)

A CLI based word counter using typescript and published as an executable npm package, complete problem statement is available here.

NPM Package

Usage

This project is published as an npm package. To use follow these steps.

  • Install as an npm package

    npm i wmd-ts-word-counter
  • Run the app after installation

    wmd-ts-word-counter
  • Use the app as an npx package

    npx wmd-ts-word-counter

Instructions

  • Inputs :

    • Enter any paragraph when prompted
  • Results :

    • Number of Words
    • Number of total Characters
    • Number of Alphabets
    • Number of Numeric Characters
    • Number of Unique Words
    • Number of Unique Alphabets

Demo

Steps to code CLI word counter

All the details to code this app is given here.