# count-fileword

> "to count number of occurence of each word in a file"

Latest version **0.0.1** (published 2017-05-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install count-fileword
pnpm add count-fileword
yarn add count-fileword
bun add count-fileword
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2017-05-30 |
| First published | 2017-05-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 (+5 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | steveoni |
| Maintainers | steveoni |
| Keywords | ['count', 'word, occurence', 'file'] |

## Links

- npm: https://www.npmjs.com/package/count-fileword
- Repository: https://github.com/steveoni/count-fileword
- Homepage: https://github.com/steveoni/count-fileword#readme
- Issues: https://github.com/steveoni/count-fileword/issues
- npm.io page: https://npm.io/package/count-fileword

## Dependencies (4)

- [npm](https://npm.io/package/npm.md) ^4.6.1
- [chai](https://npm.io/package/chai.md) ^4.0.0
- [should](https://npm.io/package/should.md) ^11.2.1
- [install](https://npm.io/package/install.md) ^0.10.1

## Recent versions

- 0.0.1 (latest) — 2017-05-30
- 1.1.1 — 2017-05-30
- 1.0.1 — 2017-05-30

## README

## 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

```javascript

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

console.log(wordCount("file.txt"));
//if file is empty : return {}
```
and it can also be used with command line

```bash
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

---
_Source: https://npm.io/package/count-fileword · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
