# simple-sentiment-lib

> Very compact and simple to use sentiment analysis lib

Latest version **1.1.8** (published 2020-07-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install simple-sentiment-lib
pnpm add simple-sentiment-lib
yarn add simple-sentiment-lib
bun add simple-sentiment-lib
```

## 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.8 |
| Published | 2020-07-01 |
| First published | 2020-06-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 47 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | voidzero1337 |
| Keywords | sentiment, analysis, sentiment analysis, ai, artificalintelligence, artifical intelligence, sentiment analysis, sentiment-analysis, sentiment-classification, afinn, mining, text, text analysis |

## Links

- npm: https://www.npmjs.com/package/simple-sentiment-lib
- npm.io page: https://npm.io/package/simple-sentiment-lib

## Alternatives

- [@expo/fingerprint](https://npm.io/package/@expo/fingerprint.md) — 6.2M weekly downloads
- [@azure/monitor-opentelemetry-exporter](https://npm.io/package/@azure/monitor-opentelemetry-exporter.md) — 850.0K weekly downloads
- [@azure/monitor-opentelemetry](https://npm.io/package/@azure/monitor-opentelemetry.md) — 624.0K weekly downloads
- [@posthog/ai](https://npm.io/package/@posthog/ai.md) — 423.3K weekly downloads
- [fakefilter](https://npm.io/package/fakefilter.md) — 63.9K weekly downloads

## Recent versions

- 1.1.8 (latest) — 2020-07-01
- 1.1.7 — 2020-06-30
- 1.1.6 — 2020-06-30
- 1.1.5 — 2020-06-30
- 1.1.4 — 2020-06-30
- 1.1.3 — 2020-06-30
- 1.1.2 — 2020-06-30
- 1.1.1 — 2020-06-29
- 1.1.0 — 2020-06-29
- 1.0.9 — 2020-06-29
- 1.0.8 — 2020-06-29
- 1.0.7 — 2020-06-29
- 1.0.6 — 2020-06-29
- 1.0.5 — 2020-06-29
- 1.0.4 — 2020-06-29
- … 4 more at https://npm.io/package/simple-sentiment-lib/versions

## README

# simple-sentiment-lib
Ultra simple NodeJS Sentiment text analyzer based on afinn.

## Usage:
```javascript
const analyse = require("simple-sentiment-lib");

const exampleData = "Lorem Ipsum dolor sit amet, consectetur adipiscing elit good great bad ";

var result = analyse(exampleData);

console.dir(result);
```

## Result:
```javascript
{
  score: 3,
  comparative: 0.2727272727272727,
  positive: {
    score: 6,
    comparative: 0.5454545454545454,
    words: [ 'good', 'great' ]
  },
  negative: { score: 3, comparative: 0.2727272727272727, words: [ 'bad' ] }
}
```

##Github:
https://github.com/voidzero-development/simple-sentiment-lib


More usage examples:

https://github.com/voidzero-development/NodeJS-Sentiment


## Credits
https://github.com/voidzero-development
<a href="https://www.buymeacoffee.com/VoidZero1337" target="_blank"><img src="https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png" alt="Buy Me A Coffee" style="height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;" ></a>


https://github.com/marc0tjevp
<a href="https://www.buymeacoffee.com/marc0tjevp" target="_blank"><img src="https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png" alt="Buy Me A Coffee" style="height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;" ></a>

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