0.0.1 • Published 6 years ago

count-fileword v0.0.1

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

count-fileword

it count the number of time each word occur in a file. when a file is pass to it it return an object containing each word and their number of occurence

var wordCount = require('count-fileword');

console.log(wordCount("file.txt"));
//if file is empty : return {}

and it can also be used with command line

npm count-fileword "file.js"

uses

it can be used for data analysis: after each word count is gotten it can be used to draw graph . and when used with web scrapping modulen can be used to find the most popular word in a site

MIT LICENSE

0.0.1

6 years ago

1.1.1

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago