# word-counter-fr

> ## Usage

Latest version **0.2.1** (published 2015-03-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install word-counter-fr
pnpm add word-counter-fr
yarn add word-counter-fr
bun add word-counter-fr
```

## 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.2.1 |
| Published | 2015-03-05 |
| First published | 2015-03-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Florian Cargoët |
| Maintainers | floriancargoet |

## Links

- npm: https://www.npmjs.com/package/word-counter-fr
- npm.io page: https://npm.io/package/word-counter-fr

## Recent versions

- 0.2.1 (latest) — 2015-03-05

## README

#Word Counter (french rules)

## Usage

    var countWords = require('word-counter-fr');

    var result = countWords("Qu'est-ce que j'ai mangé aujourd'hui ? Viendra-t-il me voir ?");

    console.log(result);

    { count: 12,
      words:
       [ { value: 'qu', start: 0, end: 1 },
         { value: 'est', start: 3, end: 5 },
         { value: 'ce', start: 7, end: 8 },
         { value: 'que', start: 10, end: 12 },
         { value: 'j', start: 14, end: 14 },
         { value: 'ai', start: 16, end: 17 },
         { value: 'mangé', start: 19, end: 23 },
         { value: 'aujourd’hui', start: 25, end: 35 },
         { value: 'viendra', start: 39, end: 45 },
         { value: 'il', start: 49, end: 50 },
         { value: 'me', start: 52, end: 53 },
         { value: 'voir', start: 55, end: 58 } ] }

## Rules

TODO

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