Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ricardocanelas/wfreq
Word Frequency (node)
https://github.com/ricardocanelas/wfreq
Last synced: 8 days ago
JSON representation
Word Frequency (node)
- Host: GitHub
- URL: https://github.com/ricardocanelas/wfreq
- Owner: ricardocanelas
- Created: 2018-07-30T21:01:05.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-30T13:25:20.000Z (about 4 years ago)
- Last Synced: 2024-10-01T21:17:51.990Z (about 1 month ago)
- Language: JavaScript
- Size: 148 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This utility allows you to get frequency of words from a file.
[![Build Status](https://travis-ci.org/ricardocanelas/wfreq.svg)](https://travis-ci.org/ricardocanelas/wfreq/)
(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