# mano-mano-occurrences

> a library that tracks the occurrences of a word in a sentence

Latest version **1.1.0** (published 2018-03-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install mano-mano-occurrences
pnpm add mano-mano-occurrences
yarn add mano-mano-occurrences
bun add mano-mano-occurrences
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2018-03-09 |
| First published | 2018-03-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 9.5.0 |
| Dependencies | 0 |
| Unpacked size | 9.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Makaveli_devweb - Romuald DUCONSEIL - Front-End Developer |
| Maintainers | makaveli-devweb |

## Links

- npm: https://www.npmjs.com/package/mano-mano-occurrences
- Repository: https://github.com/makavelithadon/occurrences
- Homepage: https://github.com/makavelithadon/occurrences#readme
- Issues: https://github.com/makavelithadon/occurrences/issues
- npm.io page: https://npm.io/package/mano-mano-occurrences

## Recent versions

- 1.1.0 (latest) — 2018-03-09
- 1.0.0 — 2018-03-08

## README

## A library that tracks the occurrences of a word in a sentence

# Getting Started

### Use it in your app

with Unpkg :

````html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
</head>
<body>
  <script src="https://unpkg.com/mano-mano-occurrences@1.0.0/dist/main.min.js"></script>
</body>
</html>
````

with NPM :

````
npm i --save-dev mano-mano-occurrences
````

````javascript
import Occurrences from 'mano-mano-occurrences';

// or

const Occurrences = require('mano-mano-occurrences');

const occ = new Occurrences('Lorem ipsum', { /*  options  */ });

occ.getOccurrenceFrom('ipsum'); // 1

````

# Options

#### minLength

Set the minimal length of a word, if the word's length is lower then this, it will be ignore.

Default : 2

# Contributing

clone this repository then execute this command

````
npm install
````

or

````
yarn
````

# Development

````
npm run start
````

Then edit files

# Build

````
npm run build
````

This will clean up the dist folder and its contain and bundle the files

# Tests

````
npm run test
````

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