0.1.0 • Published 6 years ago

wfreq v0.1.0

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

This utility allows you to get frequency of words from a file.

Version: 0.1 (beta)

Features

  • Type file available: txt, pdf, epub
  • Output: terminal or html file
  • Filter by: minimum, maximum, limit, order
  • Ignore a list of words

Installation

npm install -g wfreq

Usage

wfreq ./myfile.txt

Commands

  • Min
  • Max
  • Order
  • Limit
  • Ignore
  • Output

Min

wfreq ./myfile.txt --min 10

Max

wfreq ./myfile.txt --max 5

Order

wfreq ./myfile.txt --order desc
wfreq ./myfile.txt --order asc

Limit

wfreq ./myfile.txt --limit 25

Ignore

wfreq ./myfile.txt --ignore "foo, bar"

Output

wfreq ./myfile.txt --output html
wfreq ./myfile.txt --output shell

License

MIT