Socket
Socket
Sign inDemoInstall

afinn-96

Package Overview
Dependencies
0
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.3 to 1.1.4

18

package.json
{
"name": "afinn-96",
"version": "1.1.3",
"version": "1.1.4",
"description": "AFINN 96 (list of English words rated for valence) in JSON",

@@ -20,2 +20,6 @@ "license": "MIT",

"bugs": "https://github.com/words/afinn-96/issues",
"funding": {
"type": "github",
"url": "https://github.com/sponsors/wooorm"
},
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",

@@ -31,3 +35,3 @@ "contributors": [

"devDependencies": {
"bail": "^1.0.1",
"bail": "^1.0.0",
"browserify": "^16.0.0",

@@ -37,9 +41,9 @@ "csv-streamify": "^4.0.0",

"readable-stream": "^3.0.0",
"remark-cli": "^6.0.0",
"remark-preset-wooorm": "^5.0.0",
"remark-cli": "^7.0.0",
"remark-preset-wooorm": "^6.0.0",
"tape": "^4.0.0",
"tinyify": "^2.5.0",
"tinyify": "^2.0.0",
"wrap-stream": "^2.0.0",
"xo": "^0.24.0",
"yauzl": "^2.10.0"
"xo": "^0.25.0",
"yauzl": "^2.0.0"
},

@@ -46,0 +50,0 @@ "scripts": {

@@ -9,14 +9,14 @@ # afinn-96

AFINN 96 is the lightweight (1468 words/phrases), older, version of
AFINN 96 is the lightweight (1468 words/phrases) and older version of
[AFINN 165][afinn165] (3382 words/phrases).
## Installation
## Install
[npm][]:
```bash
```sh
npm install afinn-96
```
## Usage
## Use

@@ -34,8 +34,8 @@ ```js

**afinn-96** returns entries to valence ratings (`Object.<string, number>`).
`afinn-96` returns entries to valence ratings (`Object.<number>`).
> Note! Be careful when accessing unknown properties on the
> **afinn-96** object, words such as “constructor” or “toString”
> might occur. It’s recommended to use a `hasOwnProperty` check
> beforehand.
> Note!
> Be careful when accessing unknown properties on the `afinn-96` object, words
> such as `constructor` or `toString` might occur.
> It’s recommended to use a `hasOwnProperty` check beforehand.

@@ -64,3 +64,3 @@ ## Musings

* [`polarity`](https://github.com/words/polarity)
— Detect the polarity of text, based on `afinn-169` and `emoji-emotion`
— Detect the polarity of text, based on `afinn-165` and `emoji-emotion`

@@ -67,0 +67,0 @@ ## License

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc