Skip to content

plk3000/charCounter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

charCounter

Small script to display a list of all characters present in a file with a count of how many times that char is in the file.

To run

node app.js pathToFile [printAsText]

  • [ ] indicate an optional parameter
  • If printAsText is present the result is listed as char count, if not present the result is an array of JSON objects in the form:
{
  "char": "A",
  "count": 654
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published